Build Information
Failed to build IkigaJSON, reference master (c0d8aa), with Swift 6.1 for Wasm on 27 Apr 2026 06:00:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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: 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-4609320-2":/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
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/83219] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.84s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (11.84s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[238/25506] Fetching swift-atomics, swift-collections
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/apple/swift-atomics.git from cache (2.75s)
Fetched https://github.com/apple/swift-collections.git from cache (2.89s)
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (3.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.89s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Building for debugging...
[0/24] Write sources
[12/24] Compiling CNIOOpenBSD shim.c
[13/24] Compiling CNIODarwin shim.c
[14/24] Compiling CNIOWindows shim.c
[15/24] Compiling CNIOWindows WSAStartup.c
[15/24] Write sources
[17/24] Compiling CNIOLinux liburing_shims.c
[18/24] Compiling CNIOLinux shim.c
[19/24] Compiling CNIOWASI CNIOWASI.c
[20/24] Compiling _AtomicsShims.c
[21/24] Write swift-version-24593BA9C3E375BF.txt
[23/73] 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
[24/73] 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
[25/75] Emitting module Atomics
[25/77] Compiling c-atomics.c
[26/77] Compiling c-nioatomics.c
[28/84] Emitting module NIOConcurrencyHelpers
<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/84] 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
[30/84] 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
[31/84] 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
[32/84] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/84] 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
[34/84] 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
[35/84] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/84] 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]
[37/84] 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]
[38/85] Compiling Atomics ManagedAtomic.swift
[39/85] Compiling Atomics ManagedAtomicLazyReference.swift
[40/85] Compiling Atomics UnsafeAtomic.swift
[41/85] Compiling Atomics UnsafeAtomicLazyReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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/85] Compiling Atomics OptionalRawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/85] Compiling Atomics AtomicMemoryOrderings.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/85] Compiling Atomics DoubleWord.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/85] Compiling Atomics AtomicInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<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
[50/85] Compiling Atomics RawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/85] Compiling Atomics AtomicBool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/85] Compiling Atomics AtomicOptionalWrappable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/85] Compiling Atomics AtomicReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/85] Compiling Atomics IntegerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/85] Compiling Atomics AtomicStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/85] Compiling Atomics AtomicValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/86] 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
[67/86] 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
[68/86] 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
[69/86] 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
[70/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
[77/86] Compiling NIOConcurrencyHelpers NIOLockedValueBox.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
[78/86] Compiling NIOConcurrencyHelpers NIOAtomic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/86] 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-4609320-2":/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 Atomics AtomicStorage.swift
[3/57] Compiling Atomics AtomicValue.swift
[4/59] Compiling Atomics ManagedAtomic.swift
[5/59] Compiling Atomics ManagedAtomicLazyReference.swift
[6/61] Compiling Atomics UnsafeAtomic.swift
[7/61] Compiling Atomics UnsafeAtomicLazyReference.swift
[8/61] Compiling _JSONCore Bytes.swift
[9/61] Compiling _NIOBase64 Base64.swift
[12/61] Compiling _NIODataStructures PriorityQueue.swift
[13/61] Compiling _NIODataStructures _TinyArray.swift
[14/61] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/61] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/61] Compiling Atomics AtomicMemoryOrderings.swift
[17/61] Compiling Atomics DoubleWord.swift
[18/61] Compiling Atomics IntegerConformances.swift
[19/61] Compiling Atomics PointerConformances.swift
[20/61] Compiling Atomics Primitives.native.swift
[21/61] Emitting module _NIOBase64
[26/62] Emitting module NIOConcurrencyHelpers
[27/62] Compiling _JSONCore JSONTokenizerDestination.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/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]
[29/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]
[30/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
[31/62] 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
[32/62] Compiling _JSONCore Errors.swift
[33/62] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[34/62] Emitting module _NIODataStructures
[37/62] Compiling Atomics OptionalRawRepresentable.swift
[38/62] Compiling Atomics RawRepresentable.swift
[39/62] Compiling Atomics AtomicBool.swift
BUILD FAILURE 6.1 wasm