The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SSE, reference 0.1.0 (c8e3f1), with Swift 6.2 for Wasm on 9 Mar 2026 07:47:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/swift-sse.git
Reference: 0.1.0
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/DePasqualeOrg/swift-sse
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at c8e3f1a Initial commit
Cloned https://github.com/DePasqualeOrg/swift-sse.git
Revision (git rev-parse @):
c8e3f1a5d4cdf708c891bae1f2a975519627b65c
SUCCESS checkout https://github.com/DePasqualeOrg/swift-sse.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DePasqualeOrg/swift-sse.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SSE
/host/spi-builder-workspace/Sources/SSE/SSE.swift:343:56: error: cannot find type 'AsyncSequence' in scope
341 |
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
    |                                                        `- error: cannot find type 'AsyncSequence' in scope
344 |     where Base.Element == UInt8
345 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:344:16: error: 'Element' is not a member type of type 'Base'
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
344 |     where Base.Element == UInt8
    |                `- error: 'Element' is not a member type of type 'Base'
345 | {
346 |     public typealias Element = ServerSentEventBlock
/host/spi-builder-workspace/Sources/SSE/SSE.swift:355:32: error: 'AsyncIterator' is not a member type of type 'Base'
353 |
354 |     public struct Iterator: AsyncIteratorProtocol {
355 |         var baseIterator: Base.AsyncIterator
    |                                `- error: 'AsyncIterator' is not a member type of type 'Base'
356 |         var parser = ServerSentEventsParser()
357 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:358:25: error: 'AsyncIterator' is not a member type of type 'Base'
356 |         var parser = ServerSentEventsParser()
357 |
358 |         init(base: Base.AsyncIterator) {
    |                         `- error: 'AsyncIterator' is not a member type of type 'Base'
359 |             baseIterator = base
360 |         }
/host/spi-builder-workspace/Sources/SSE/SSE.swift:354:29: error: cannot find type 'AsyncIteratorProtocol' in scope
352 |     }
353 |
354 |     public struct Iterator: AsyncIteratorProtocol {
    |                             `- error: cannot find type 'AsyncIteratorProtocol' in scope
355 |         var baseIterator: Base.AsyncIterator
356 |         var parser = ServerSentEventsParser()
/host/spi-builder-workspace/Sources/SSE/SSE.swift:343:72: error: cannot find type 'AsyncSequence' in scope
341 |
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
    |                                                                        `- error: cannot find type 'AsyncSequence' in scope
344 |     where Base.Element == UInt8
345 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:381:51: error: cannot find type 'AsyncSequence' in scope
379 |
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
    |                                                   `- error: cannot find type 'AsyncSequence' in scope
382 |     where Base.Element == UInt8
383 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:382:16: error: 'Element' is not a member type of type 'Base'
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
382 |     where Base.Element == UInt8
    |                `- error: 'Element' is not a member type of type 'Base'
383 | {
384 |     public typealias Element = ServerSentEvent
/host/spi-builder-workspace/Sources/SSE/SSE.swift:393:32: error: 'AsyncIterator' is not a member type of type 'Base'
391 |
392 |     public struct Iterator: AsyncIteratorProtocol {
393 |         var baseIterator: Base.AsyncIterator
    |                                `- error: 'AsyncIterator' is not a member type of type 'Base'
394 |         var parser = ServerSentEventsParser()
395 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:396:25: error: 'AsyncIterator' is not a member type of type 'Base'
394 |         var parser = ServerSentEventsParser()
395 |
396 |         init(base: Base.AsyncIterator) {
    |                         `- error: 'AsyncIterator' is not a member type of type 'Base'
397 |             baseIterator = base
398 |         }
/host/spi-builder-workspace/Sources/SSE/SSE.swift:392:29: error: cannot find type 'AsyncIteratorProtocol' in scope
390 |     }
391 |
392 |     public struct Iterator: AsyncIteratorProtocol {
    |                             `- error: cannot find type 'AsyncIteratorProtocol' in scope
393 |         var baseIterator: Base.AsyncIterator
394 |         var parser = ServerSentEventsParser()
/host/spi-builder-workspace/Sources/SSE/SSE.swift:381:67: error: cannot find type 'AsyncSequence' in scope
379 |
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
    |                                                                   `- error: cannot find type 'AsyncSequence' in scope
382 |     where Base.Element == UInt8
383 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:422:18: error: cannot find type 'AsyncSequence' in scope
420 | extension AsyncServerSentEventsSequence: Sendable where Base: Sendable {}
421 |
422 | public extension AsyncSequence where Element == UInt8 {
    |                  `- error: cannot find type 'AsyncSequence' in scope
423 |     /// Parses this byte stream into observable SSE blocks.
424 |     ///
/host/spi-builder-workspace/Sources/SSE/SSE.swift:351:29: error: value of type 'Base' has no member 'makeAsyncIterator'
349 |
350 |     public func makeAsyncIterator() -> Iterator {
351 |         Iterator(base: base.makeAsyncIterator())
    |                             `- error: value of type 'Base' has no member 'makeAsyncIterator'
352 |     }
353 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:389:29: error: value of type 'Base' has no member 'makeAsyncIterator'
387 |
388 |     public func makeAsyncIterator() -> Iterator {
389 |         Iterator(base: base.makeAsyncIterator())
    |                             `- error: value of type 'Base' has no member 'makeAsyncIterator'
390 |     }
391 |
[4/4] Compiling SSE SSE.swift
/host/spi-builder-workspace/Sources/SSE/SSE.swift:343:56: error: cannot find type 'AsyncSequence' in scope
341 |
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
    |                                                        `- error: cannot find type 'AsyncSequence' in scope
344 |     where Base.Element == UInt8
345 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:344:16: error: 'Element' is not a member type of type 'Base'
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
344 |     where Base.Element == UInt8
    |                `- error: 'Element' is not a member type of type 'Base'
345 | {
346 |     public typealias Element = ServerSentEventBlock
/host/spi-builder-workspace/Sources/SSE/SSE.swift:355:32: error: 'AsyncIterator' is not a member type of type 'Base'
353 |
354 |     public struct Iterator: AsyncIteratorProtocol {
355 |         var baseIterator: Base.AsyncIterator
    |                                `- error: 'AsyncIterator' is not a member type of type 'Base'
356 |         var parser = ServerSentEventsParser()
357 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:358:25: error: 'AsyncIterator' is not a member type of type 'Base'
356 |         var parser = ServerSentEventsParser()
357 |
358 |         init(base: Base.AsyncIterator) {
    |                         `- error: 'AsyncIterator' is not a member type of type 'Base'
359 |             baseIterator = base
360 |         }
/host/spi-builder-workspace/Sources/SSE/SSE.swift:354:29: error: cannot find type 'AsyncIteratorProtocol' in scope
352 |     }
353 |
354 |     public struct Iterator: AsyncIteratorProtocol {
    |                             `- error: cannot find type 'AsyncIteratorProtocol' in scope
355 |         var baseIterator: Base.AsyncIterator
356 |         var parser = ServerSentEventsParser()
/host/spi-builder-workspace/Sources/SSE/SSE.swift:343:72: error: cannot find type 'AsyncSequence' in scope
341 |
342 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEventBlock` values.
343 | public struct AsyncServerSentEventBlocksSequence<Base: AsyncSequence>: AsyncSequence
    |                                                                        `- error: cannot find type 'AsyncSequence' in scope
344 |     where Base.Element == UInt8
345 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:381:51: error: cannot find type 'AsyncSequence' in scope
379 |
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
    |                                                   `- error: cannot find type 'AsyncSequence' in scope
382 |     where Base.Element == UInt8
383 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:382:16: error: 'Element' is not a member type of type 'Base'
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
382 |     where Base.Element == UInt8
    |                `- error: 'Element' is not a member type of type 'Base'
383 | {
384 |     public typealias Element = ServerSentEvent
/host/spi-builder-workspace/Sources/SSE/SSE.swift:393:32: error: 'AsyncIterator' is not a member type of type 'Base'
391 |
392 |     public struct Iterator: AsyncIteratorProtocol {
393 |         var baseIterator: Base.AsyncIterator
    |                                `- error: 'AsyncIterator' is not a member type of type 'Base'
394 |         var parser = ServerSentEventsParser()
395 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:396:25: error: 'AsyncIterator' is not a member type of type 'Base'
394 |         var parser = ServerSentEventsParser()
395 |
396 |         init(base: Base.AsyncIterator) {
    |                         `- error: 'AsyncIterator' is not a member type of type 'Base'
397 |             baseIterator = base
398 |         }
/host/spi-builder-workspace/Sources/SSE/SSE.swift:392:29: error: cannot find type 'AsyncIteratorProtocol' in scope
390 |     }
391 |
392 |     public struct Iterator: AsyncIteratorProtocol {
    |                             `- error: cannot find type 'AsyncIteratorProtocol' in scope
393 |         var baseIterator: Base.AsyncIterator
394 |         var parser = ServerSentEventsParser()
/host/spi-builder-workspace/Sources/SSE/SSE.swift:381:67: error: cannot find type 'AsyncSequence' in scope
379 |
380 | /// An `AsyncSequence` that transforms a byte stream into `ServerSentEvent` values.
381 | public struct AsyncServerSentEventsSequence<Base: AsyncSequence>: AsyncSequence
    |                                                                   `- error: cannot find type 'AsyncSequence' in scope
382 |     where Base.Element == UInt8
383 | {
/host/spi-builder-workspace/Sources/SSE/SSE.swift:422:18: error: cannot find type 'AsyncSequence' in scope
420 | extension AsyncServerSentEventsSequence: Sendable where Base: Sendable {}
421 |
422 | public extension AsyncSequence where Element == UInt8 {
    |                  `- error: cannot find type 'AsyncSequence' in scope
423 |     /// Parses this byte stream into observable SSE blocks.
424 |     ///
/host/spi-builder-workspace/Sources/SSE/SSE.swift:351:29: error: value of type 'Base' has no member 'makeAsyncIterator'
349 |
350 |     public func makeAsyncIterator() -> Iterator {
351 |         Iterator(base: base.makeAsyncIterator())
    |                             `- error: value of type 'Base' has no member 'makeAsyncIterator'
352 |     }
353 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:389:29: error: value of type 'Base' has no member 'makeAsyncIterator'
387 |
388 |     public func makeAsyncIterator() -> Iterator {
389 |         Iterator(base: base.makeAsyncIterator())
    |                             `- error: value of type 'Base' has no member 'makeAsyncIterator'
390 |     }
391 |
/host/spi-builder-workspace/Sources/SSE/SSE.swift:422:32: error: 'where' clause cannot be applied to a non-generic top-level declaration
420 | extension AsyncServerSentEventsSequence: Sendable where Base: Sendable {}
421 |
422 | public extension AsyncSequence where Element == UInt8 {
    |                                `- error: 'where' clause cannot be applied to a non-generic top-level declaration
423 |     /// Parses this byte stream into observable SSE blocks.
424 |     ///
BUILD FAILURE 6.2 wasm