Build Information
Failed to build IkigaJSON, reference 2.4.4 (c0d8aa), with Swift 6.1 for Linux on 27 Apr 2026 05:59:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/swift-json.git
Reference: 2.4.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/orlandos-nl/swift-json
* tag 2.4.4 -> FETCH_HEAD
HEAD is now at c0d8aa3 Merge pull request #62 from orlandos-nl/copilot/make-json-token-string-public
Cloned https://github.com/orlandos-nl/swift-json.git
Revision (git rev-parse @):
c0d8aa3eae43e1b5565d5b6b4e05e18664f1047e
SUCCESS checkout https://github.com/orlandos-nl/swift-json.git at 2.4.4
========================================
Build
========================================
Selected platform: 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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/83219] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (13.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/7421] Fetching swift-atomics, swift-system
[3201/31107] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
[1895/23686] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.37s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Building for debugging...
[0/28] Write sources
[15/28] Compiling CNIOWindows shim.c
[16/28] Compiling CNIOWindows WSAStartup.c
[17/28] Compiling CNIOWASI CNIOWASI.c
[18/28] Compiling CNIODarwin shim.c
[19/28] Compiling CNIOLinux liburing_shims.c
[20/28] Compiling CNIOOpenBSD shim.c
[21/28] Write sources
[22/28] Compiling _AtomicsShims.c
[23/28] Compiling CNIOPosix event_loop_id.c
[24/28] Compiling CNIOLinux shim.c
[25/28] Write swift-version-24593BA9C3E375BF.txt
[27/77] 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
[28/79] 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:248:73: error: consecutive statements on a line must be separated by ';'
246 | // Use closure only to find the string end index, return results outside
247 | // to avoid overlapping access errors with self mutation
248 | let result: (foundIndex: Int, didEscape: Bool, found: Bool) = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:26: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/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:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/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 bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:20: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/79] 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:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/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:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = bytes.count
/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:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[30/79] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/79] Compiling Atomics AtomicMemoryOrderings.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/79] Compiling Atomics DoubleWord.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/79] Compiling Atomics IntegerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/79] Compiling Atomics PointerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/79] Compiling Atomics Primitives.native.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/79] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/79] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/79] Compiling c-nioatomics.c
[39/79] 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
[40/79] Compiling Atomics AtomicStorage.swift
[41/79] Compiling Atomics AtomicValue.swift
[44/79] Compiling Atomics UnsafeAtomic.swift
[45/79] Compiling Atomics UnsafeAtomicLazyReference.swift
[46/81] Compiling Atomics AtomicInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/81] Compiling Atomics AtomicOptionalWrappable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/81] Compiling Atomics AtomicReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/81] Compiling _JSONCore JSONTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:24: error: consecutive statements on a line must be separated by ';'
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: consecutive statements on a line must be separated by ';'
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:29: error: consecutive statements on a line must be separated by ';'
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
92 | var i = searchStart
93 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:26: error: consecutive statements on a line must be separated by ';'
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:28: error: consecutive statements on a line must be separated by ';'
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:26: error: consecutive statements on a line must be separated by ';'
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = bytes.count
/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:24:18: error: cannot find 'unsafe' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'unsafe' in scope
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:25: error: cannot find 'Span' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'Span' in scope
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:23: error: cannot find 'unsafe' in scope
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
92 | var i = searchStart
93 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:20: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:22: error: cannot find 'unsafe' in scope
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:20: error: cannot find 'unsafe' in scope
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
[50/81] Compiling Atomics OptionalRawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/81] Compiling Atomics RawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/81] Compiling Atomics AtomicBool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/81] Compiling _JSONCore JSONTokenizerDestination.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/81] Compiling _JSONCore FastScanner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[55/81] Compiling _NIOBase64 Base64.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/81] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/82] Compiling Atomics ManagedAtomic.swift
[58/82] Compiling Atomics ManagedAtomicLazyReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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
[68/82] Compiling _JSONCore Bytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/82] Compiling _JSONCore Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/83] Emitting module Atomics
[79/83] Compiling Atomics IntegerOperations.swift
[80/83] Compiling Atomics Unmanaged extensions.swift
[81/84] Compiling c-atomics.c
[83/84] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/84] Compiling _NIODataStructures Heap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/39] Emitting module _JSONCore
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/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:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = bytes.count
/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:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[3/57] Compiling Atomics UnsafeAtomic.swift
[4/57] Compiling Atomics UnsafeAtomicLazyReference.swift
[5/59] Compiling InternalCollectionsUtilities _SortedCollection.swift
[6/59] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/59] Emitting module _NIODataStructures
[8/59] Compiling _NIODataStructures Heap.swift
[9/59] Compiling NIOConcurrencyHelpers NIOLock.swift
[10/59] Compiling _JSONCore JSONTokenizer.swift
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:24: error: consecutive statements on a line must be separated by ';'
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: consecutive statements on a line must be separated by ';'
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:29: error: consecutive statements on a line must be separated by ';'
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
92 | var i = searchStart
93 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:26: error: consecutive statements on a line must be separated by ';'
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:28: error: consecutive statements on a line must be separated by ';'
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:26: error: consecutive statements on a line must be separated by ';'
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:5:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
5 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
6 | span: Span<UInt8>,
7 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:6:11: error: cannot find type 'Span' in scope
4 | @_lifetime(copy span)
5 | public init(
6 | span: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
7 | destination: Destination
8 | ) {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:4:4: error: unknown attribute '_lifetime'
2 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
3 | /// Creates a new JSONParser and initializes it
4 | @_lifetime(copy span)
| `- error: unknown attribute '_lifetime'
5 | public init(
6 | span: Span<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
18 | @_lifetime(borrow bytes)
19 | @unsafe
20 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
22 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
19 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
20 | public init(
21 | bytes: borrowing UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:4: error: unknown attribute '_lifetime'
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
19 | @unsafe
20 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:57:4: error: unknown attribute '_lifetime'
55 | /// Advances the amount of bytes processed and updates the related offset and count
56 | @usableFromInline
57 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
58 | internal mutating func advance(_ offset: Int) {
59 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:86:4: error: unknown attribute '_lifetime'
84 | @_optimize(speed)
85 | @usableFromInline
86 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
87 | mutating func _skipWhitespace() {
88 | let searchEnd = bytes.count
/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:24:18: error: cannot find 'unsafe' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'unsafe' in scope
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:24:25: error: cannot find 'Span' in scope
22 | destination: Destination
23 | ) {
24 | self.bytes = unsafe Span(_unsafeElements: bytes)
| `- error: cannot find 'Span' in scope
25 | self.destination = destination
26 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:91:23: error: cannot find 'unsafe' in scope
89 | let searchStart = currentOffset
90 |
91 | let offset: Int = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
92 | var i = searchStart
93 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:20: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | return i - searchStart
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:110:22: error: cannot find 'unsafe' in scope
108 |
109 | for j in 0..<8 {
110 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
111 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
112 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:126:20: error: cannot find 'unsafe' in scope
124 | // Process remaining bytes
125 | while i < searchEnd {
126 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
127 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
128 | return i - searchStart
[11/59] Compiling _JSONCore JSONParser+Parsing.swift
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:248:73: error: consecutive statements on a line must be separated by ';'
246 | // Use closure only to find the string end index, return results outside
247 | // to avoid overlapping access errors with self mutation
248 | let result: (foundIndex: Int, didEscape: Bool, found: Bool) = unsafe bytes.withUnsafeBufferPointer { buffer in
| `- error: consecutive statements on a line must be separated by ';'
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:26: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:18:21: error: expected ',' separator
16 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
17 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
18 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
19 | @unsafe
20 | public init(
/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:33:23: error: cannot find type 'Span' in scope
31 | /// The pointer that will be parsed
32 | @usableFromInline
33 | internal let bytes: Span<UInt8>
| `- error: cannot find type 'Span' in scope
34 |
35 | /// The amount of bytes supposedly in the pointer, this must be guaranteed internally
/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 bytes.withUnsafeBufferPointer { buffer in
| `- error: cannot find 'unsafe' in scope
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:20: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
[12/59] Compiling _JSONCore Errors.swift
[13/59] Compiling _JSONCore Bytes.swift
[14/59] Compiling _JSONCore JSONTokenizerDestination.swift
[15/59] Compiling _JSONCore FastScanner.swift
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:147:9: warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
145 | while i &+ 8 <= count {
146 | // Check if any of the 8 bytes is non-whitespace
147 | var foundNonWhitespace = false
| `- warning: initialization of variable 'foundNonWhitespace' was never used; consider replacing with assignment to '_' or removing it
148 | for j in 0..<8 {
149 | let byte = baseAddress[i &+ j]
[16/59] Compiling NIOConcurrencyHelpers lock.swift
[17/59] Emitting module _NIOBase64
[18/59] Compiling _NIOBase64 Base64.swift
[19/59] Compiling Atomics IntegerConformances.swift
[20/59] Compiling Atomics PointerConformances.swift
[21/59] Compiling Atomics Primitives.native.swift
[22/59] Compiling Atomics AtomicStorage.swift
[23/59] Compiling Atomics AtomicValue.swift
BUILD FAILURE 6.1 linux