The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChaosByteStreams, reference v1.0.7 (01cc58), with Swift 6.1 for Wasm on 9 Oct 2025 19:23:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ChaosByteStreams.git
Reference: v1.0.7
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/elegantchaos/ChaosByteStreams
 * tag               v1.0.7     -> FETCH_HEAD
HEAD is now at 01cc58b Cleaned up helper
Cloned https://github.com/elegantchaos/ChaosByteStreams.git
Revision (git rev-parse @):
01cc58b8d9a01d67ee6669b67db41b2060ea467b
SUCCESS checkout https://github.com/elegantchaos/ChaosByteStreams.git at v1.0.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/ChaosByteStreams.git
https://github.com/elegantchaos/ChaosByteStreams.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ChaosByteStreams",
  "name" : "ChaosByteStreams",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ChaosByteStreams",
      "targets" : [
        "ChaosByteStreams"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ChaosByteStreamsTests",
      "module_type" : "SwiftTarget",
      "name" : "ChaosByteStreamsTests",
      "path" : "Tests/ChaosByteStreamsTests",
      "sources" : [
        "ChaosByteStreamsTests.swift"
      ],
      "target_dependencies" : [
        "ChaosByteStreams"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ChaosByteStreams",
      "module_type" : "SwiftTarget",
      "name" : "ChaosByteStreams",
      "path" : "Sources/ChaosByteStreams",
      "product_memberships" : [
        "ChaosByteStreams"
      ],
      "sources" : [
        "Data+ByteStreams.swift",
        "DataBuffer.swift",
        "String+ByteStreams.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/6] Compiling ChaosByteStreams Data+ByteStreams.swift
[4/6] Compiling ChaosByteStreams String+ByteStreams.swift
[5/6] Emitting module ChaosByteStreams
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:14:22: error: cannot find type 'DispatchQueue' in scope
 12 | public final class DataBuffer: @unchecked Sendable {
 13 |   /// Serialization queue for accessing/modifying the buffer and continuations.
 14 |   private let queue: DispatchQueue
    |                      `- error: cannot find type 'DispatchQueue' in scope
 15 |
 16 |   /// Underlying data buffer.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:26:67: error: cannot find type 'DispatchQoS' in scope
 24 |
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
    |                                                                   `- error: cannot find type 'DispatchQoS' in scope
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
 28 |   }
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:88:21: error: cannot find type 'AsyncLineSequence' in scope
 86 |
 87 |   /// Return a line sequence that reads from this buffer.
 88 |   public var lines: AsyncLineSequence<AsyncBytes> { bytes.lines }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 89 |
 90 |   /// Wait for the buffer to close, then return it as a `String`.
[6/6] Compiling ChaosByteStreams DataBuffer.swift
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:14:22: error: cannot find type 'DispatchQueue' in scope
 12 | public final class DataBuffer: @unchecked Sendable {
 13 |   /// Serialization queue for accessing/modifying the buffer and continuations.
 14 |   private let queue: DispatchQueue
    |                      `- error: cannot find type 'DispatchQueue' in scope
 15 |
 16 |   /// Underlying data buffer.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:26:67: error: cannot find type 'DispatchQoS' in scope
 24 |
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
    |                                                                   `- error: cannot find type 'DispatchQoS' in scope
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
 28 |   }
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:88:21: error: cannot find type 'AsyncLineSequence' in scope
 86 |
 87 |   /// Return a line sequence that reads from this buffer.
 88 |   public var lines: AsyncLineSequence<AsyncBytes> { bytes.lines }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 89 |
 90 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:27:18: error: cannot find 'DispatchQueue' in scope
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
    |                  `- error: cannot find 'DispatchQueue' in scope
 28 |   }
 29 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling ChaosByteStreams String+ByteStreams.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling ChaosByteStreams Data+ByteStreams.swift
[4/5] Emitting module ChaosByteStreams
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:14:22: error: cannot find type 'DispatchQueue' in scope
 12 | public final class DataBuffer: @unchecked Sendable {
 13 |   /// Serialization queue for accessing/modifying the buffer and continuations.
 14 |   private let queue: DispatchQueue
    |                      `- error: cannot find type 'DispatchQueue' in scope
 15 |
 16 |   /// Underlying data buffer.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:26:67: error: cannot find type 'DispatchQoS' in scope
 24 |
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
    |                                                                   `- error: cannot find type 'DispatchQoS' in scope
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
 28 |   }
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:88:21: error: cannot find type 'AsyncLineSequence' in scope
 86 |
 87 |   /// Return a line sequence that reads from this buffer.
 88 |   public var lines: AsyncLineSequence<AsyncBytes> { bytes.lines }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 89 |
 90 |   /// Wait for the buffer to close, then return it as a `String`.
[5/5] Compiling ChaosByteStreams DataBuffer.swift
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:14:22: error: cannot find type 'DispatchQueue' in scope
 12 | public final class DataBuffer: @unchecked Sendable {
 13 |   /// Serialization queue for accessing/modifying the buffer and continuations.
 14 |   private let queue: DispatchQueue
    |                      `- error: cannot find type 'DispatchQueue' in scope
 15 |
 16 |   /// Underlying data buffer.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:26:67: error: cannot find type 'DispatchQoS' in scope
 24 |
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
    |                                                                   `- error: cannot find type 'DispatchQoS' in scope
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
 28 |   }
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:88:21: error: cannot find type 'AsyncLineSequence' in scope
 86 |
 87 |   /// Return a line sequence that reads from this buffer.
 88 |   public var lines: AsyncLineSequence<AsyncBytes> { bytes.lines }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 89 |
 90 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/Sources/ChaosByteStreams/DataBuffer.swift:27:18: error: cannot find 'DispatchQueue' in scope
 25 |   /// Create a new data buffer.
 26 |   public init(label: String = "com.elegantchaos.databuffer", qos: DispatchQoS = .utility) {
 27 |     self.queue = DispatchQueue(label: label, qos: qos)
    |                  `- error: cannot find 'DispatchQueue' in scope
 28 |   }
 29 |
BUILD FAILURE 6.1 wasm