Build Information
Failed to build IkigaJSON, reference 2.4.4 (c0d8aa), with Swift 6.1 for macOS (SPM) on 27 Apr 2026 05:56:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/swift-json.git
Reference: 2.4.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/swift-json
* tag 2.4.4 -> FETCH_HEAD
HEAD is now at c0d8aa3 Merge pull request #62 from orlandos-nl/copilot/make-json-token-string-public
Cloned https://github.com/orlandos-nl/swift-json.git
Revision (git rev-parse @):
c0d8aa3eae43e1b5565d5b6b4e05e18664f1047e
SUCCESS checkout https://github.com/orlandos-nl/swift-json.git at 2.4.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" : "12.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/JSONObject.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",
"sources" : [
"JSONTests.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/29] Copying PrivacyInfo.xcprivacy
[0/29] Write sources
[16/29] Compiling CNIOWindows shim.c
[16/29] Compiling CNIOWindows WSAStartup.c
[18/29] Write swift-version-2F0A5646E1D333AE.txt
[19/29] Write sources
[20/33] Compiling CNIOWASI CNIOWASI.c
[21/33] Compiling CNIOOpenBSD shim.c
[22/33] Compiling CNIOLinux liburing_shims.c
[22/33] Compiling CNIOLinux shim.c
[24/51] Compiling _AtomicsShims.c
[25/55] Compiling CNIOPosix event_loop_id.c
[26/80] Compiling CNIODarwin shim.c
[28/80] Compiling Atomics PointerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/80] Compiling Atomics Primitives.native.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 AtomicBool.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
[31/81] Compiling Atomics IntegerConformances.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/81] Compiling Atomics OptionalRawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/81] Compiling Atomics RawRepresentable.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/81] 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
[35/81] Compiling _NIOBase64 Base64.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/81] 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
[37/81] 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
[38/81] Compiling Atomics AtomicValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/81] Compiling Atomics AtomicMemoryOrderings.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/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
[41/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
[42/81] 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
[43/81] 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
[44/81] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/81] 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
[46/81] 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
[47/81] 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:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[48/81] 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:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | 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:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = 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:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[49/81] 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:248:73: error: consecutive statements on a line must be separated by ';'
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 bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
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:284:26: 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) { $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/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | 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:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/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 bytes.withUnsafeBufferPointer { buffer 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:284:20: 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) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
[50/81] 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:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:24: error: consecutive statements on a line must be separated by ';'
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: consecutive statements on a line must be separated by ';'
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:29: error: consecutive statements on a line must be separated by ';'
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
92 | var i = searchStart
93 |
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:26: 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 buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:28: error: consecutive statements on a line must be separated by ';'
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:26: error: consecutive statements on a line must be separated by ';'
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = 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:24:18: error: cannot find 'unsafe' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'unsafe' in scope
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:25: error: cannot find 'Span' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'Span' in scope
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:23: error: cannot find 'unsafe' in scope
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
92 | var i = searchStart
93 |
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:20: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:22: error: cannot find 'unsafe' in scope
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:20: error: cannot find 'unsafe' in scope
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
[51/81] Compiling Atomics AtomicReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/81] Compiling Atomics AtomicStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/81] Compiling c-nioatomics.c
[52/81] 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
<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 (2.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (3.14s)
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 (1.47s)
Fetched https://github.com/apple/swift-system.git from cache (1.50s)
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.06s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
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.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.99.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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 Bytes.swift
[3/54] Compiling _JSONCore Errors.swift
[4/54] Compiling _JSONCore JSONParser+Parsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:248:73: error: consecutive statements on a line must be separated by ';'
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 bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
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:284:26: 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) { $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/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | 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:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/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 bytes.withUnsafeBufferPointer { buffer 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:284:20: 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) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
[5/54] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[6/54] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/55] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[8/55] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/55] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[10/55] Compiling InternalCollectionsUtilities UInt+reversed.swift
[11/55] Compiling _NIODataStructures PriorityQueue.swift
[12/55] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/55] Compiling _JSONCore JSONTokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:24: error: consecutive statements on a line must be separated by ';'
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: consecutive statements on a line must be separated by ';'
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:29: error: consecutive statements on a line must be separated by ';'
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
92 | var i = searchStart
93 |
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:26: 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 buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:28: error: consecutive statements on a line must be separated by ';'
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:26: error: consecutive statements on a line must be separated by ';'
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = 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:24:18: error: cannot find 'unsafe' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'unsafe' in scope
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:25: error: cannot find 'Span' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'Span' in scope
25 | self.destination = destination
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:23: error: cannot find 'unsafe' in scope
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
92 | var i = searchStart
93 |
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:20: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:22: error: cannot find 'unsafe' in scope
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:20: error: cannot find 'unsafe' in scope
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
[14/55] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[15/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/55] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[17/55] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[18/56] Compiling _NIOBase64 Base64.swift
[19/56] Emitting module _NIOBase64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/56] Emitting module _JSONCore
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | 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:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = 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:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[21/56] Compiling InternalCollectionsUtilities Debugging.swift
[22/56] Compiling InternalCollectionsUtilities Descriptions.swift
[23/56] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/56] Compiling InternalCollectionsUtilities Integer rank.swift
[25/56] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/56] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[31/56] Compiling _JSONCore FastScanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[32/56] Compiling _JSONCore JSONTokenizerDestination.swift
[33/56] Compiling InternalCollectionsUtilities Span+Extras.swift
[34/56] Compiling InternalCollectionsUtilities String+Padding.swift
[34/56] Compiling c-nioatomics.c
[34/56] Compiling c-atomics.c
BUILD FAILURE 6.1 macosSpm