Build Information
Failed to build IkigaJSON, reference master (c0d8aa), with Swift 6.1 for Linux on 27 Apr 2026 06:12:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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 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 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-4606859-3":/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 (12.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (15.67s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/23686] Fetching swift-collections
[238/25506] Fetching swift-collections, swift-atomics
[767/31107] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.30s)
[7496/29287] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (3.64s)
Fetched https://github.com/apple/swift-collections.git from cache (3.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (18.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.43s)
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Building for debugging...
[0/28] Write sources
[8/28] Compiling CNIOWindows WSAStartup.c
[8/28] Write sources
[8/28] Compiling CNIOOpenBSD shim.c
[8/28] Write sources
[17/28] Compiling CNIODarwin shim.c
[18/28] Compiling CNIOLinux liburing_shims.c
[19/28] Compiling CNIOWindows shim.c
[19/28] Compiling _AtomicsShims.c
[20/28] Write sources
[22/28] Compiling CNIOWASI CNIOWASI.c
[23/28] Compiling CNIOPosix event_loop_id.c
[24/28] Compiling CNIOLinux shim.c
[25/28] Write swift-version-24593BA9C3E375BF.txt
[26/77] Compiling c-nioatomics.c
[28/77] Emitting module Atomics
[28/79] Compiling c-atomics.c
[30/79] 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
[31/79] 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
[32/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
[33/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
[34/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]
[35/82] Compiling InternalCollectionsUtilities UnsafeBufferPointer+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/82] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+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
[37/82] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/82] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[39/82] Emitting module InternalCollectionsUtilities
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/82] 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/82] 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/85] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/86] 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
[44/86] 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
[45/89] 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
[46/89] 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
[47/89] 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
[48/89] 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
[49/89] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.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/89] Compiling InternalCollectionsUtilities LifetimeOverride.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/89] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.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/89] 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
[53/89] Compiling Atomics ManagedAtomic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/89] 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
[55/89] Compiling InternalCollectionsUtilities Integer rank.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/89] 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
[60/89] 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
[61/89] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/89] 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]
<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/89] 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
<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-4606859-3":/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
[2/57] Compiling InternalCollectionsUtilities Debugging.swift
[3/57] Compiling InternalCollectionsUtilities Descriptions.swift
[4/59] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[5/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
[6/59] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[7/59] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[10/61] Compiling InternalCollectionsUtilities String+Padding.swift
[11/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/61] Compiling _JSONCore Bytes.swift
[15/61] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/61] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/61] Emitting module _NIODataStructures
[18/61] Emitting module _NIOBase64
[19/61] Compiling _NIOBase64 Base64.swift
[20/62] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[22/62] Emitting module NIOConcurrencyHelpers
[23/62] Compiling _JSONCore Errors.swift
[24/62] 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
[27/62] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/62] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[30/62] Compiling _JSONCore JSONTokenizerDestination.swift
[31/62] 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]
[32/62] Compiling _NIODataStructures PriorityQueue.swift
[33/62] Compiling _NIODataStructures _TinyArray.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/62] 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]
[37/62] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[38/62] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[39/62] Compiling InternalCollectionsUtilities Span+Extras.swift
BUILD FAILURE 6.1 linux