The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamUI, reference main (522447), with Swift 6.1 for macOS (SPM) on 4 Oct 2026 10:09:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rozd/stream-ui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rozd/stream-ui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 522447a Enforce one observer per StreamValue in debug builds
Cloned https://github.com/rozd/stream-ui.git
Revision (git rev-parse @):
522447a3240c386644f61f6748da13bd190c8fe0
SUCCESS checkout https://github.com/rozd/stream-ui.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rozd/stream-ui.git
https://github.com/rozd/stream-ui.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "StreamUI",
  "name" : "StreamUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "StreamUI",
      "targets" : [
        "StreamUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StreamUITests",
      "module_type" : "SwiftTarget",
      "name" : "StreamUITests",
      "path" : "Tests/StreamUITests",
      "sources" : [
        "DeinitFinishingSequence.swift",
        "StreamBuilderTests.swift",
        "StreamValueTests.swift"
      ],
      "target_dependencies" : [
        "StreamUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StreamUI",
      "module_type" : "SwiftTarget",
      "name" : "StreamUI",
      "path" : "Sources/StreamUI",
      "product_memberships" : [
        "StreamUI"
      ],
      "sources" : [
        "FutureValue.swift",
        "StreamBuilder.swift",
        "StreamValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling StreamUI StreamValue.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
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:195:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
193 |             }
194 |             // Stream ended normally: keep the last value.
195 |         } catch is CancellationError {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
196 |             // Structured cancellation — the view went away or runID changed.
197 |         } catch {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling StreamUI FutureValue.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
[5/6] Emitting module StreamUI
<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
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
[6/6] Compiling StreamUI StreamBuilder.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
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling StreamUI FutureValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module StreamUI
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
[4/5] Compiling StreamUI StreamBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
[5/5] Compiling StreamUI StreamValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:102:30: error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
100 | open class StreamValue<T: Sendable> {
101 |
102 |     public typealias S = any AsyncSequence<T, any Error> & Sendable
    |                              `- error: non-protocol, non-class type 'AsyncSequence<T, any Error>' cannot be used within a protocol-constrained type
103 |
104 |     /// The latest snapshot of the stream: `.empty` until the first element,
/Users/admin/builder/spi-builder-workspace/Sources/StreamUI/StreamValue.swift:195:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
193 |             }
194 |             // Stream ended normally: keep the last value.
195 |         } catch is CancellationError {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
196 |             // Structured cancellation — the view went away or runID changed.
197 |         } catch {
BUILD FAILURE 6.1 macosSpm