The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stream, reference 0.0.8 (be0295), with Swift 6.3 for Wasm on 22 Apr 2026 09:39:05 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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cgarciae/stream.git
Reference: 0.0.8
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/cgarciae/stream
 * tag               0.0.8      -> FETCH_HEAD
HEAD is now at be0295e update README
Cloned https://github.com/cgarciae/stream.git
Revision (git rev-parse @):
be0295edfc45808b28276d20859693dbf5ec4437
SUCCESS checkout https://github.com/cgarciae/stream.git at 0.0.8
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cgarciae/stream.git
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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Stream Utils.swift
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:23: error: cannot find 'DispatchQueue' in scope
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                       `- error: cannot find 'DispatchQueue' in scope
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:67: error: cannot infer contextual base in reference to member 'concurrent'
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
[4/9] Compiling Stream Stream.swift
/host/spi-builder-workspace/Sources/Stream/Stream.swift:33:19: error: cannot find type 'DispatchQueue' in scope
 31 |         maxTasks: Int = CPU_COUNT,
 32 |         queueMax: Int? = nil,
 33 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 34 |         f: @escaping (ConcurrentQueue<B?>, Element) throws -> Void
 35 |     ) -> Stream<B> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:77:19: error: cannot find type 'DispatchQueue' in scope
 75 |         maxTasks: Int = CPU_COUNT,
 76 |         queueMax: Int? = nil,
 77 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 78 |         f: @escaping (Element) throws -> B
 79 |     ) -> Stream<B> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:92:19: error: cannot find type 'DispatchQueue' in scope
 90 |         maxTasks: Int = CPU_COUNT,
 91 |         queueMax: Int? = nil,
 92 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 93 |         f: @escaping (Element) throws -> S
 94 |     ) -> Stream<B> where S.Element == B {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:109:19: error: cannot find type 'DispatchQueue' in scope
107 |         maxTasks: Int = CPU_COUNT,
108 |         queueMax: Int? = nil,
109 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
110 |         f: @escaping (Element) throws -> Bool
111 |     ) -> Stream<Element> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:122:19: error: cannot find type 'DispatchQueue' in scope
120 |         maxTasks: Int = CPU_COUNT,
121 |         queueMax: Int? = nil,
122 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
123 |         f: @escaping (Element) throws -> Void
124 |     ) {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:46:37: error: cannot find 'DispatchSemaphore' in scope
 44 |                     let dispatch = dispatch ?? DISPATCH
 45 |                     // let dispatch = dispatch ?? DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
 46 |                     let semaphore = DispatchSemaphore(value: maxTasks)
    |                                     `- error: cannot find 'DispatchSemaphore' in scope
 47 |
 48 |                     dispatch.async {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:49:37: error: cannot find 'DispatchGroup' in scope
 47 |
 48 |                     dispatch.async {
 49 |                         let group = DispatchGroup()
    |                                     `- error: cannot find 'DispatchGroup' in scope
 50 |
 51 |                         for elem in self {
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:23: error: cannot find 'DispatchQueue' in scope
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                       `- error: cannot find 'DispatchQueue' in scope
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:67: error: cannot infer contextual base in reference to member 'concurrent'
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Compiling Stream Queue.swift
[6/9] Emitting module Stream
/host/spi-builder-workspace/Sources/Stream/Lock.swift:4:29: error: cannot find 'DispatchSemaphore' in scope
 2 |
 3 | public struct Lock {
 4 |     private var semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
 5 |
 6 |     public func aquire(_ block: () throws -> Void) rethrows {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:103:19: error: cannot find type 'DispatchQueue' in scope
101 |         maxTasks: Int = CPU_COUNT,
102 |         queueMax: Int? = nil,
103 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
104 |         f: @escaping (ConcurrentQueue<Index<B>?>, Int, Element) throws -> Void
105 |     ) -> OrderedStream<B> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:165:19: error: cannot find type 'DispatchQueue' in scope
163 |         maxTasks: Int = CPU_COUNT,
164 |         queueMax: Int? = nil,
165 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
166 |         f: @escaping (Element) throws -> B
167 |     ) -> OrderedStream<B> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:184:19: error: cannot find type 'DispatchQueue' in scope
182 |         maxTasks: Int = CPU_COUNT,
183 |         queueMax: Int? = nil,
184 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
185 |         f: @escaping (Element) throws -> S
186 |     ) -> OrderedStream<B> where S.Element == B {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:210:19: error: cannot find type 'DispatchQueue' in scope
208 |         maxTasks: Int = CPU_COUNT,
209 |         queueMax: Int? = nil,
210 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
211 |         f: @escaping (Element) throws -> Bool
212 |     ) -> OrderedStream<Element> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:234:19: error: cannot find type 'DispatchQueue' in scope
232 |         maxTasks: Int = CPU_COUNT,
233 |         queueMax: Int? = nil,
234 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
235 |         f: @escaping (Element) throws -> Void
236 |     ) {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:33:19: error: cannot find type 'DispatchQueue' in scope
 31 |         maxTasks: Int = CPU_COUNT,
 32 |         queueMax: Int? = nil,
 33 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 34 |         f: @escaping (ConcurrentQueue<B?>, Element) throws -> Void
 35 |     ) -> Stream<B> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:77:19: error: cannot find type 'DispatchQueue' in scope
 75 |         maxTasks: Int = CPU_COUNT,
 76 |         queueMax: Int? = nil,
 77 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 78 |         f: @escaping (Element) throws -> B
 79 |     ) -> Stream<B> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:92:19: error: cannot find type 'DispatchQueue' in scope
 90 |         maxTasks: Int = CPU_COUNT,
 91 |         queueMax: Int? = nil,
 92 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
 93 |         f: @escaping (Element) throws -> S
 94 |     ) -> Stream<B> where S.Element == B {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:109:19: error: cannot find type 'DispatchQueue' in scope
107 |         maxTasks: Int = CPU_COUNT,
108 |         queueMax: Int? = nil,
109 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
110 |         f: @escaping (Element) throws -> Bool
111 |     ) -> Stream<Element> {
/host/spi-builder-workspace/Sources/Stream/Stream.swift:122:19: error: cannot find type 'DispatchQueue' in scope
120 |         maxTasks: Int = CPU_COUNT,
121 |         queueMax: Int? = nil,
122 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
123 |         f: @escaping (Element) throws -> Void
124 |     ) {
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:23: error: cannot find 'DispatchQueue' in scope
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                       `- error: cannot find 'DispatchQueue' in scope
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:67: error: cannot infer contextual base in reference to member 'concurrent'
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
[7/9] Compiling Stream OrderedStream.swift
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:103:19: error: cannot find type 'DispatchQueue' in scope
101 |         maxTasks: Int = CPU_COUNT,
102 |         queueMax: Int? = nil,
103 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
104 |         f: @escaping (ConcurrentQueue<Index<B>?>, Int, Element) throws -> Void
105 |     ) -> OrderedStream<B> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:165:19: error: cannot find type 'DispatchQueue' in scope
163 |         maxTasks: Int = CPU_COUNT,
164 |         queueMax: Int? = nil,
165 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
166 |         f: @escaping (Element) throws -> B
167 |     ) -> OrderedStream<B> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:184:19: error: cannot find type 'DispatchQueue' in scope
182 |         maxTasks: Int = CPU_COUNT,
183 |         queueMax: Int? = nil,
184 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
185 |         f: @escaping (Element) throws -> S
186 |     ) -> OrderedStream<B> where S.Element == B {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:210:19: error: cannot find type 'DispatchQueue' in scope
208 |         maxTasks: Int = CPU_COUNT,
209 |         queueMax: Int? = nil,
210 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
211 |         f: @escaping (Element) throws -> Bool
212 |     ) -> OrderedStream<Element> {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:234:19: error: cannot find type 'DispatchQueue' in scope
232 |         maxTasks: Int = CPU_COUNT,
233 |         queueMax: Int? = nil,
234 |         dispatch: DispatchQueue? = nil,
    |                   `- error: cannot find type 'DispatchQueue' in scope
235 |         f: @escaping (Element) throws -> Void
236 |     ) {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:118:37: error: cannot find 'DispatchSemaphore' in scope
116 |                     let dispatch = dispatch ?? DISPATCH
117 |                     // let dispatch = dispatch ?? DispatchQueue(label: UUID().uuidString, attributes: .concurrent)
118 |                     let semaphore = DispatchSemaphore(value: maxTasks)
    |                                     `- error: cannot find 'DispatchSemaphore' in scope
119 |
120 |                     dispatch.async {
/host/spi-builder-workspace/Sources/Stream/OrderedStream.swift:121:37: error: cannot find 'DispatchGroup' in scope
119 |
120 |                     dispatch.async {
121 |                         let group = DispatchGroup()
    |                                     `- error: cannot find 'DispatchGroup' in scope
122 |
123 |                         for (i, elem) in self.enumerated() {
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:23: error: cannot find 'DispatchQueue' in scope
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                       `- error: cannot find 'DispatchQueue' in scope
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
/host/spi-builder-workspace/Sources/Stream/Utils.swift:3:67: error: cannot infer contextual base in reference to member 'concurrent'
1 | import Foundation
2 |
3 | public let DISPATCH = DispatchQueue(label: "Stream", attributes: .concurrent)
  |                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
4 | public let CPU_COUNT = ProcessInfo.processInfo.activeProcessorCount
[8/9] Compiling Stream Lock.swift
/host/spi-builder-workspace/Sources/Stream/Lock.swift:4:29: error: cannot find 'DispatchSemaphore' in scope
 2 |
 3 | public struct Lock {
 4 |     private var semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
 5 |
 6 |     public func aquire(_ block: () throws -> Void) rethrows {
[9/9] Compiling Stream ConcurrentQueue.swift
/host/spi-builder-workspace/Sources/Stream/Lock.swift:4:29: error: cannot find 'DispatchSemaphore' in scope
 2 |
 3 | public struct Lock {
 4 |     private var semaphore = DispatchSemaphore(value: 1)
   |                             `- error: cannot find 'DispatchSemaphore' in scope
 5 |
 6 |     public func aquire(_ block: () throws -> Void) rethrows {
BUILD FAILURE 6.3 wasm