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