The Swift Package Index logo.Swift Package Index

Build Information

Failed to build iris, reference 1.0.0 (ca5285), with Swift 6.1 for macOS (SPM) on 15 Jul 2026 20:27:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/async-digital-ltd/iris.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/async-digital-ltd/iris
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at ca52859 Pre-public housekeeping: sweep em-dashes, scrub internal references (#4)
Cloned https://github.com/async-digital-ltd/iris.git
Revision (git rev-parse @):
ca52859789348f43841052fa7e1bf59df854b072
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/async-digital-ltd/iris.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/async-digital-ltd/iris.git
https://github.com/async-digital-ltd/iris.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "iris",
  "name" : "iris",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Iris",
      "targets" : [
        "Iris"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IrisTests",
      "module_type" : "SwiftTarget",
      "name" : "IrisTests",
      "path" : "Tests/IrisTests",
      "sources" : [
        "HandoffRegistryTests.swift",
        "HandoffTests.swift",
        "LatestWinsExecutorTests.swift",
        "NavFlowScopeTests.swift",
        "RouteCoordinatorTests.swift",
        "RouteStackTests.swift",
        "URLPathRouterTests.swift"
      ],
      "target_dependencies" : [
        "Iris"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Iris",
      "module_type" : "SwiftTarget",
      "name" : "Iris",
      "path" : "Sources/Iris",
      "product_memberships" : [
        "Iris"
      ],
      "sources" : [
        "Baton.swift",
        "HandoffRegistry.swift",
        "LatestWinsExecutor.swift",
        "NavFlow.swift",
        "NavigationFacade.swift",
        "NavigationFlow.swift",
        "Navigators.swift",
        "OnEvents.swift",
        "OnLinkModifier.swift",
        "RouteCoordinator.swift",
        "RouteStack.swift",
        "Task+Extensions.swift",
        "URLParsing.swift",
        "URLRoute.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/16] Compiling Iris Task+Extensions.swift
[4/17] Compiling Iris URLParsing.swift
[5/17] Compiling Iris RouteStack.swift
[6/17] Compiling Iris RouteCoordinator.swift
[7/17] Compiling Iris URLRoute.swift
[8/17] Compiling Iris NavigationFacade.swift
[9/17] Compiling Iris NavigationFlow.swift
[10/17] Compiling Iris Navigators.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:38: error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |                                      `- error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
14 |                 await consume(value)
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:13: error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |             `- error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
14 |                 await consume(value)
15 |             }
[11/17] Compiling Iris OnEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:38: error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |                                      `- error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
14 |                 await consume(value)
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:13: error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |             `- error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
14 |                 await consume(value)
15 |             }
[12/17] Compiling Iris LatestWinsExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/LatestWinsExecutor.swift:68:13: warning: no 'async' operations occur within 'await' expression
 66 |                 await operation()
 67 |             }
 68 |             await self?.finishIfLatest(id: myID)
    |             `- warning: no 'async' operations occur within 'await' expression
 69 |         }
 70 |
[13/17] Compiling Iris NavFlow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/LatestWinsExecutor.swift:68:13: warning: no 'async' operations occur within 'await' expression
 66 |                 await operation()
 67 |             }
 68 |             await self?.finishIfLatest(id: myID)
    |             `- warning: no 'async' operations occur within 'await' expression
 69 |         }
 70 |
[14/17] Compiling Iris Baton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/Baton.swift:150:25: warning: '@concurrent' has been renamed to '@Sendable'
148 |                 }
149 |             } onCancel: {
150 |                 Task { @concurrent in await self.cancelWaiter() }
    |                         `- warning: '@concurrent' has been renamed to '@Sendable'
151 |             }
152 |
[15/17] Compiling Iris HandoffRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/Baton.swift:150:25: warning: '@concurrent' has been renamed to '@Sendable'
148 |                 }
149 |             } onCancel: {
150 |                 Task { @concurrent in await self.cancelWaiter() }
    |                         `- warning: '@concurrent' has been renamed to '@Sendable'
151 |             }
152 |
[16/17] Emitting module Iris
[17/17] Compiling Iris OnLinkModifier.swift
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/15] Compiling Iris URLParsing.swift
[3/16] Compiling Iris Task+Extensions.swift
[4/16] Compiling Iris RouteCoordinator.swift
[5/16] Compiling Iris RouteStack.swift
[6/16] Compiling Iris OnLinkModifier.swift
[7/16] Compiling Iris LatestWinsExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/LatestWinsExecutor.swift:68:13: warning: no 'async' operations occur within 'await' expression
 66 |                 await operation()
 67 |             }
 68 |             await self?.finishIfLatest(id: myID)
    |             `- warning: no 'async' operations occur within 'await' expression
 69 |         }
 70 |
[8/16] Compiling Iris NavFlow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/LatestWinsExecutor.swift:68:13: warning: no 'async' operations occur within 'await' expression
 66 |                 await operation()
 67 |             }
 68 |             await self?.finishIfLatest(id: myID)
    |             `- warning: no 'async' operations occur within 'await' expression
 69 |         }
 70 |
[9/16] Compiling Iris NavigationFacade.swift
[10/16] Compiling Iris NavigationFlow.swift
[11/16] Compiling Iris Navigators.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:38: error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |                                      `- error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
14 |                 await consume(value)
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:13: error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |             `- error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
14 |                 await consume(value)
15 |             }
[12/16] Compiling Iris OnEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:38: error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |                                      `- error: non-sendable result type 'AsyncStream<Value>' cannot be sent from nonisolated context in call to async function
14 |                 await consume(value)
15 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Iris/OnEvents.swift:13:13: error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
 5 | /// Consumes values from a lazily-created `AsyncStream`, cancelling when the
 6 | /// view disappears.
 7 | private struct OnEvents<Value>: ViewModifier {
   |                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 8 |     let makeStream: () async -> AsyncStream<Value>
 9 |     let consume: @MainActor (Value) async -> Void
   :
11 |     func body(content: Content) -> some View {
12 |         content.task {
13 |             for await value in await makeStream() {
   |             `- error: non-sendable result type 'Value?' cannot be sent from nonisolated context in call to instance method 'next()'
14 |                 await consume(value)
15 |             }
[13/16] Compiling Iris Baton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/Baton.swift:150:25: warning: '@concurrent' has been renamed to '@Sendable'
148 |                 }
149 |             } onCancel: {
150 |                 Task { @concurrent in await self.cancelWaiter() }
    |                         `- warning: '@concurrent' has been renamed to '@Sendable'
151 |             }
152 |
[14/16] Compiling Iris HandoffRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Iris/Baton.swift:150:25: warning: '@concurrent' has been renamed to '@Sendable'
148 |                 }
149 |             } onCancel: {
150 |                 Task { @concurrent in await self.cancelWaiter() }
    |                         `- warning: '@concurrent' has been renamed to '@Sendable'
151 |             }
152 |
[15/16] Emitting module Iris
[16/16] Compiling Iris URLRoute.swift
BUILD FAILURE 6.1 macosSpm