Build Information
Failed to build IkigaJSON, reference 2.5.4 (ccb32a), with Swift 6.1 for macOS (SPM) on 21 Aug 2026 00:48:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/swift-json.git
Reference: 2.5.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
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
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "IkigaJSON",
"name" : "IkigaJSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "IkigaJSON",
"targets" : [
"IkigaJSON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "IkigaJSONCore",
"targets" : [
"_JSONCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_NIOJSON",
"module_type" : "SwiftTarget",
"name" : "_NIOJSON",
"path" : "Sources/_NIOJSON",
"product_dependencies" : [
"NIOCore",
"NIOFoundationCompat"
],
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Codable/JSONDecoder.swift",
"Codable/JSONDecoderError.swift",
"Codable/JSONEncoder.swift",
"Codable/NilValueCodingStrategy.swift",
"Codable/StreamingJSONArrayDecoder.swift",
"Codable/StreamingJSONLinesDecoder.swift",
"Core/Bounds.swift",
"Core/JSONDescription+Constants.swift",
"Core/JSONDescription.swift",
"Pointer+Helpers.swift",
"Types/JSONArray.swift",
"Types/JSONArrayView.swift",
"Types/JSONObject.swift",
"Types/JSONObjectView.swift",
"Types/JSONValue.swift"
],
"target_dependencies" : [
"_JSONCore"
],
"type" : "library"
},
{
"c99name" : "_JSONCore",
"module_type" : "SwiftTarget",
"name" : "_JSONCore",
"path" : "Sources/_JSONCore",
"product_memberships" : [
"IkigaJSON",
"IkigaJSONCore"
],
"sources" : [
"Bytes.swift",
"Errors.swift",
"Parser/JSONParser+Parsing.swift",
"Parser/JSONTokenizer.swift",
"Parser/JSONTokenizerDestination.swift",
"SIMD/FastScanner.swift"
],
"type" : "library"
},
{
"c99name" : "IkigaJSONTests",
"module_type" : "SwiftTarget",
"name" : "IkigaJSONTests",
"path" : "Tests/IkigaJSONTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/IkigaJSONTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"JSONTests.swift",
"JSONViewTests.swift"
],
"target_dependencies" : [
"IkigaJSON"
],
"type" : "test"
},
{
"c99name" : "IkigaJSON",
"module_type" : "SwiftTarget",
"name" : "IkigaJSON",
"path" : "Sources/IkigaJSON",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"_JSONCore",
"_NIOJSON"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/30] Write sources
[5/30] Copying PrivacyInfo.xcprivacy
[5/30] Write sources
[16/30] Compiling CNIOWindows WSAStartup.c
[16/30] Compiling CNIOWindows shim.c
[18/30] Write swift-version-2F0A5646E1D333AE.txt
[19/30] Compiling CNIOWASI CNIOWASI.c
[20/30] Compiling CNIOFreeBSD shim.c
[21/30] Compiling CNIOLinux liburing_shims.c
[22/30] Compiling CNIOOpenBSD shim.c
[23/30] Compiling CNIOLinux shim.c
[24/30] Write sources
[25/52] Compiling _AtomicsShims.c
[26/62] Compiling CNIOPosix event_loop_id.c
[27/81] Compiling CNIODarwin shim.c
[29/81] Compiling Atomics UnsafeAtomicLazyReference.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/81] Compiling Atomics IntegerOperations.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)
[31/82] 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
[32/82] 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
/Users/admin/builder/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(
/Users/admin/builder/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 `[`")
/Users/admin/builder/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 `{`")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[33/82] 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
[34/82] 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
[35/82] Compiling Atomics DoubleWord.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
[36/82] Compiling Atomics ManagedAtomic.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
[37/82] 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
[38/82] 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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[39/82] Compiling Atomics ManagedAtomicLazyReference.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/82] Compiling Atomics UnsafeAtomic.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/82] 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
[42/82] 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
[43/82] 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
[44/82] 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
/Users/admin/builder/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(
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
[45/82] 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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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 `[`")
/Users/admin/builder/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 `{`")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
<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
[46/82] 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
[46/82] Compiling c-nioatomics.c
[46/82] Compiling c-atomics.c
<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
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (3.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (3.91s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (2.09s)
Fetched https://github.com/apple/swift-system.git from cache (2.15s)
Fetched https://github.com/apple/swift-collections.git from cache (2.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.49s)
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
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/54] Compiling _JSONCore FastScanner.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[3/54] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[4/54] Compiling InternalCollectionsUtilities _SortedCollection.swift
[5/55] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[6/55] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[7/55] Compiling _JSONCore JSONTokenizerDestination.swift
[8/55] Compiling Atomics PointerConformances.swift
[9/55] Compiling Atomics Primitives.native.swift
[10/55] Compiling _JSONCore Bytes.swift
[11/55] Compiling _JSONCore Errors.swift
[12/55] Compiling _JSONCore JSONTokenizer.swift
/Users/admin/builder/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(
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
[13/55] Compiling _JSONCore JSONParser+Parsing.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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 `[`")
/Users/admin/builder/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 `{`")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/55] Emitting module _JSONCore
/Users/admin/builder/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(
/Users/admin/builder/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 `[`")
/Users/admin/builder/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 `{`")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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>,
/Users/admin/builder/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(
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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()
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[15/55] Emitting module _NIOBase64
[15/55] Compiling c-nioatomics.c
[15/55] Compiling c-atomics.c
BUILD FAILURE 6.1 macosSpm