The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bulk, reference main (e19f2a), with Swift 6.2 for macOS (SPM) on 24 Jun 2025 13:16:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/Bulk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/Bulk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e19f2a5 Fix concurrency error (#22)
Cloned https://github.com/FluidGroup/Bulk.git
Revision (git rev-parse @):
e19f2a5c66058cdd080e9d8314766f25949450a3
SUCCESS checkout https://github.com/FluidGroup/Bulk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FluidGroup/Bulk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/14] Compiling Bulk CombineBulkSink.swift
[5/15] Compiling Bulk PassthroughBuffer.swift
[6/15] Compiling Bulk SerializerType.swift
[7/15] Compiling Bulk Target.swift
[8/15] Compiling Bulk BulkBufferTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkBufferTimer.swift:5:25: error: 'Duration' is only available in macOS 13.0 or newer
 1 | import Foundation
 2 |
 3 | public final class BulkBufferTimer {
   |                    `- note: add @available attribute to enclosing class
 4 |
 5 |   private var interval: Duration
   |                         `- error: 'Duration' is only available in macOS 13.0 or newer
 6 |
 7 |   private var onTimeout: (isolated (any Actor)?) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkBufferTimer.swift:11:15: error: 'Duration' is only available in macOS 13.0 or newer
 1 | import Foundation
 2 |
 3 | public final class BulkBufferTimer {
   |                    `- note: add @available attribute to enclosing class
 4 |
 5 |   private var interval: Duration
   :
 8 |   private var item: Task<(), Never>?
 9 |
10 |   public init(
   |          `- note: add @available attribute to enclosing initializer
11 |     interval: Duration,
   |               `- error: 'Duration' is only available in macOS 13.0 or newer
12 |     onTimeout: @escaping @Sendable () async -> Void
13 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkBufferTimer.swift:32:23: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 1 | import Foundation
 2 |
 3 | public final class BulkBufferTimer {
   |                    `- note: add @available attribute to enclosing class
 4 |
 5 |   private var interval: Duration
   :
24 |   }
25 |
26 |   private func refresh(isolation: isolated (any Actor)? = #isolation) {
   |                `- note: add @available attribute to enclosing instance method
27 |
28 |     self.item?.cancel()
   :
30 |     let task = Task { [onTimeout, interval] in
31 |
32 |       try? await Task.sleep(for: interval)
   |                       |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
   |                       `- note: add 'if #available' version check
33 |
34 |       guard Task.isCancelled == false else { return }
[9/15] Compiling Bulk BulkSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:13:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
12 |
13 |   private let targets: [any TargetType<Element>]
   |               `- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
14 |
15 |   private let timer: BulkBufferTimer
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:21:22: error: 'Duration' is only available in macOS 13.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
   |                      `- error: 'Duration' is only available in macOS 13.0 or newer
22 |     targets: sending [any TargetType<Element>]
23 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:19:10: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:21:34: error: 'seconds' is only available in macOS 13.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
   |                                  `- error: 'seconds' is only available in macOS 13.0 or newer
22 |     targets: sending [any TargetType<Element>]
23 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:32:21: warning: capture of non-sendable type 'B.Type' in an isolated closure
30 |
31 |     self.timer = BulkBufferTimer(interval: debounceDueTime) {
32 |       await instance?.flush()
   |                     `- warning: capture of non-sendable type 'B.Type' in an isolated closure
33 |     }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:29:14: warning: capture of non-sendable type 'B.Type' in an isolated closure
27 |
28 |     nonisolated(unsafe)
29 |     weak var instance: BulkSink?
   |              `- warning: capture of non-sendable type 'B.Type' in an isolated closure
30 |
31 |     self.timer = BulkBufferTimer(interval: debounceDueTime) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:48:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
41 |   }
42 |
43 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
44 |     timer.tap()
45 |     switch buffer.write(element: newElement) {
46 |     case .flowed(let elements):
47 |       // TODO: align interface of Collection
48 |       targets.forEach {
   |               |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |               `- note: add 'if #available' version check
49 |         $0.write(items: elements)
50 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:48:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
41 |   }
42 |
43 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
44 |     timer.tap()
45 |     switch buffer.write(element: newElement) {
46 |     case .flowed(let elements):
47 |       // TODO: align interface of Collection
48 |       targets.forEach {
   |               |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |               `- note: add 'if #available' version check
49 |         $0.write(items: elements)
50 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:58:13: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
54 |   }
55 |
56 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
57 |     let elements = buffer.purge()
58 |     targets.forEach {
   |             |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |             `- note: add 'if #available' version check
59 |       $0.write(items: elements)
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:58:13: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
54 |   }
55 |
56 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
57 |     let elements = buffer.purge()
58 |     targets.forEach {
   |             |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |             `- note: add 'if #available' version check
59 |       $0.write(items: elements)
60 |     }
[10/15] Compiling Bulk TargetUmbrella.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/TargetUmbrella.swift:28:10: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
22 | import Foundation
23 |
24 | public struct TargetUmbrella<Element>: TargetType {
   |               `- note: add @available attribute to enclosing generic struct
25 |
26 |   private let _write: ([Element]) -> Void
27 |
28 |   public init<U>(
   |          |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |          `- note: add @available attribute to enclosing initializer
29 |     filter: @escaping (Element) -> Bool = { _ in true },
30 |     transform: @escaping (Element) -> U,
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/TargetUmbrella.swift:38:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
22 | import Foundation
23 |
24 | public struct TargetUmbrella<Element>: TargetType {
   |               `- note: add @available attribute to enclosing generic struct
25 |
26 |   private let _write: ([Element]) -> Void
27 |
28 |   public init<U>(
   |          `- note: add @available attribute to enclosing initializer
29 |     filter: @escaping (Element) -> Bool = { _ in true },
30 |     transform: @escaping (Element) -> U,
   :
36 |         .map(transform)
37 |
38 |       targets.forEach {
   |               |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |               `- note: add 'if #available' version check
39 |         $0.write(items: results)
40 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/TargetUmbrella.swift:38:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
22 | import Foundation
23 |
24 | public struct TargetUmbrella<Element>: TargetType {
   |               `- note: add @available attribute to enclosing generic struct
25 |
26 |   private let _write: ([Element]) -> Void
27 |
28 |   public init<U>(
   |          `- note: add @available attribute to enclosing initializer
29 |     filter: @escaping (Element) -> Bool = { _ in true },
30 |     transform: @escaping (Element) -> U,
   :
36 |         .map(transform)
37 |
38 |       targets.forEach {
   |               |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |               `- note: add 'if #available' version check
39 |         $0.write(items: results)
40 |       }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling Bulk Buffer.swift
[12/15] Compiling Bulk FileBuffer.swift
[13/15] Compiling Bulk MemoryBuffer.swift
[14/15] Emitting module Bulk
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkBufferTimer.swift:5:25: error: 'Duration' is only available in macOS 13.0 or newer
 1 | import Foundation
 2 |
 3 | public final class BulkBufferTimer {
   |                    `- note: add @available attribute to enclosing class
 4 |
 5 |   private var interval: Duration
   |                         `- error: 'Duration' is only available in macOS 13.0 or newer
 6 |
 7 |   private var onTimeout: (isolated (any Actor)?) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkBufferTimer.swift:11:15: error: 'Duration' is only available in macOS 13.0 or newer
 1 | import Foundation
 2 |
 3 | public final class BulkBufferTimer {
   |                    `- note: add @available attribute to enclosing class
 4 |
 5 |   private var interval: Duration
   :
 8 |   private var item: Task<(), Never>?
 9 |
10 |   public init(
   |          `- note: add @available attribute to enclosing initializer
11 |     interval: Duration,
   |               `- error: 'Duration' is only available in macOS 13.0 or newer
12 |     onTimeout: @escaping @Sendable () async -> Void
13 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:13:15: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
12 |
13 |   private let targets: [any TargetType<Element>]
   |               `- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
14 |
15 |   private let timer: BulkBufferTimer
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:21:22: error: 'Duration' is only available in macOS 13.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
   |                      `- error: 'Duration' is only available in macOS 13.0 or newer
22 |     targets: sending [any TargetType<Element>]
23 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:19:10: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:21:34: error: 'seconds' is only available in macOS 13.0 or newer
 7 | }
 8 |
 9 | public actor BulkSink<B: Buffer>: BulkSinkType {
   |              `- note: add @available attribute to enclosing generic actor
10 |
11 |   public typealias Element = B.Element
   :
17 |   private let buffer: B
18 |
19 |   public init(
   |          `- note: add @available attribute to enclosing initializer
20 |     buffer: B,
21 |     debounceDueTime: Duration = .seconds(1),
   |                                  `- error: 'seconds' is only available in macOS 13.0 or newer
22 |     targets: sending [any TargetType<Element>]
23 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:32:21: warning: capture of non-sendable type 'B.Type' in an isolated closure
30 |
31 |     self.timer = BulkBufferTimer(interval: debounceDueTime) {
32 |       await instance?.flush()
   |                     `- warning: capture of non-sendable type 'B.Type' in an isolated closure
33 |     }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:29:14: warning: capture of non-sendable type 'B.Type' in an isolated closure
27 |
28 |     nonisolated(unsafe)
29 |     weak var instance: BulkSink?
   |              `- warning: capture of non-sendable type 'B.Type' in an isolated closure
30 |
31 |     self.timer = BulkBufferTimer(interval: debounceDueTime) {
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/TargetUmbrella.swift:28:10: error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
22 | import Foundation
23 |
24 | public struct TargetUmbrella<Element>: TargetType {
   |               `- note: add @available attribute to enclosing generic struct
25 |
26 |   private let _write: ([Element]) -> Void
27 |
28 |   public init<U>(
   |          |- error: runtime support for parameterized protocol types is only available in macOS 13.0.0 or newer
   |          `- note: add @available attribute to enclosing initializer
29 |     filter: @escaping (Element) -> Bool = { _ in true },
30 |     transform: @escaping (Element) -> U,
[15/15] Compiling Bulk CodableSerializer.swift
BUILD FAILURE 6.2 macosSpm