Build Information
Failed to build IkigaJSON, reference 3.0.0-beta.1 (937ee3), with Swift 6.1 for Wasm on 18 Apr 2026 02:25:22 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: 3.0.0-beta.1
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 3.0.0-beta.1 -> FETCH_HEAD
HEAD is now at 937ee3b Disable the Windows CI
Cloned https://github.com/orlandos-nl/swift-json.git
Revision (git rev-parse @):
937ee3b14b34688787e4549de026b4292fddf6f4
SUCCESS checkout https://github.com/orlandos-nl/swift-json.git at 3.0.0-beta.1
========================================
Build
========================================
Selected platform: wasm
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
70792468e643: Already exists
ac053c427195: Already exists
a2b0bee87d43: Already exists
736d91014298: Already exists
654751ccf932: Pulling fs layer
1a92cd88305f: Pulling fs layer
654751ccf932: Verifying Checksum
654751ccf932: Download complete
1a92cd88305f: Download complete
654751ccf932: Pull complete
1a92cd88305f: Pull complete
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Downloaded newer image for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (12.72s)
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/1820] Fetching swift-atomics
[602/25389] Fetching swift-atomics, swift-collections
[603/30990] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
[7487/29170] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.17s)
Fetched https://github.com/apple/swift-collections.git from cache (2.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.63s)
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-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.98.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
Building for debugging...
[0/23] Write sources
[11/23] Compiling CNIOWindows shim.c
[12/23] Compiling CNIOWindows WSAStartup.c
[13/23] Compiling CNIOWASI CNIOWASI.c
[14/23] Compiling CNIOLinux shim.c
[14/23] Write sources
[16/23] Compiling _AtomicsShims.c
[17/23] Compiling CNIODarwin shim.c
[17/23] Compiling CNIOLinux liburing_shims.c
[17/23] Compiling CNIOOpenBSD shim.c
[20/23] Write swift-version-24593BA9C3E375BF.txt
[22/72] 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
[22/74] Compiling c-atomics.c
[23/74] Compiling c-nioatomics.c
[25/81] Compiling InternalCollectionsUtilities Span+Extras.swift
[26/81] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[27/83] Compiling InternalCollectionsUtilities String+Padding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/83] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/83] Compiling Atomics IntegerOperations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/83] Compiling Atomics Unmanaged extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/83] 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
[33/83] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/83] Compiling InternalCollectionsUtilities Debugging.swift
[38/83] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[39/83] Compiling _JSONCore FastScanner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift: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
[41/83] 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
[42/83] Compiling _JSONCore JSONTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift: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
[43/83] Compiling _JSONCore JSONTokenizerDestination.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/83] 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
[45/83] Compiling InternalCollectionsUtilities Integer rank.swift
[46/83] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/83] Compiling InternalCollectionsUtilities UInt+reversed.swift
[48/83] Compiling _JSONCore Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/83] 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
[50/83] Compiling InternalCollectionsUtilities Descriptions.swift
[51/83] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/83] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[53/83] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[54/83] 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
[55/83] 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
[56/84] Compiling _JSONCore Bytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/84] 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:271:26: error: consecutive statements on a line must be separated by ';'
269 | // Process 8 bytes at a time
270 | while i &+ 8 <= searchEnd {
271 | 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 ';'
272 |
273 | // 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:271:20: error: cannot find 'unsafe' in scope
269 | // Process 8 bytes at a time
270 | while i &+ 8 <= searchEnd {
271 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
272 |
273 | // Check for quote
[58/84] 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
[59/84] 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
[63/84] Emitting module Atomics
<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
<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
[74/85] 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/57] Compiling _JSONCore Bytes.swift
[3/57] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[4/57] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[5/59] Compiling InternalCollectionsUtilities _SortedCollection.swift
[6/59] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/59] Compiling InternalCollectionsUtilities String+Padding.swift
[8/59] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[11/61] 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
[12/61] 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:271:26: error: consecutive statements on a line must be separated by ';'
269 | // Process 8 bytes at a time
270 | while i &+ 8 <= searchEnd {
271 | 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 ';'
272 |
273 | // 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:271:20: error: cannot find 'unsafe' in scope
269 | // Process 8 bytes at a time
270 | while i &+ 8 <= searchEnd {
271 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { $0.pointee }
| `- error: cannot find 'unsafe' in scope
272 |
273 | // Check for quote
[13/61] Compiling _JSONCore JSONTokenizerDestination.swift
[14/61] Compiling _JSONCore Errors.swift
[15/61] Compiling InternalCollectionsUtilities Debugging.swift
[16/61] Compiling InternalCollectionsUtilities Descriptions.swift
[17/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/61] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/61] Compiling _NIODataStructures PriorityQueue.swift
[23/61] Compiling _NIODataStructures _TinyArray.swift
[24/61] 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]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/61] 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]
[26/61] Compiling NIOConcurrencyHelpers lock.swift
[27/61] Compiling InternalCollectionsUtilities Integer rank.swift
[28/61] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/61] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/61] Compiling _NIOBase64 Base64.swift
[33/61] Emitting module _NIOBase64
[34/61] Emitting module NIOConcurrencyHelpers
[35/61] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[36/61] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[37/61] Compiling InternalCollectionsUtilities Span+Extras.swift
[40/61] Emitting module _NIODataStructures
BUILD FAILURE 6.1 wasm