The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Bulk, reference main (9fb669), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 17:19:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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 9fb6692 Update package (#21)
Cloned https://github.com/FluidGroup/Bulk.git
Revision (git rev-parse @):
9fb669296ffcfc0733dffbbb79706a719716b4d1
SUCCESS checkout https://github.com/FluidGroup/Bulk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FluidGroup/Bulk.git
https://github.com/FluidGroup/Bulk.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Bulk",
  "name" : "Bulk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Bulk",
      "targets" : [
        "Bulk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BulkLogger",
      "targets" : [
        "BulkLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "BulkTests",
      "module_type" : "SwiftTarget",
      "name" : "BulkTests",
      "path" : "Tests/BulkTests",
      "sources" : [
        "BasicTests.swift",
        "BufferTests.swift",
        "TimerTests.swift"
      ],
      "target_dependencies" : [
        "Bulk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BulkLogger",
      "module_type" : "SwiftTarget",
      "name" : "BulkLogger",
      "path" : "Sources/BulkLogger",
      "product_memberships" : [
        "BulkLogger"
      ],
      "sources" : [
        "LogData.swift",
        "Logger.swift",
        "Logger/LogBasicFormatter.swift",
        "Logger/LogConsoleTarget.swift",
        "Logger/LogFileTarget.swift",
        "Logger/LogLevelFilterPlugin.swift",
        "Logger/NSLogTarget.swift",
        "Logger/OSLogTarget.swift"
      ],
      "target_dependencies" : [
        "Bulk"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Bulk",
      "module_type" : "SwiftTarget",
      "name" : "Bulk",
      "path" : "Sources/Bulk",
      "product_memberships" : [
        "Bulk",
        "BulkLogger"
      ],
      "sources" : [
        "Buffers/Buffer.swift",
        "Buffers/FileBuffer.swift",
        "Buffers/MemoryBuffer.swift",
        "Buffers/PassthroughBuffer.swift",
        "Buffers/SerializerType.swift",
        "Core/BulkBufferTimer.swift",
        "Core/BulkSink.swift",
        "Core/CombineBulkSink.swift",
        "Core/Target.swift",
        "Core/TargetUmbrella.swift",
        "Serializer/CodableSerializer.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling Bulk CombineBulkSink.swift
[5/14] Compiling Bulk SerializerType.swift
[6/14] 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:47: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
   :
40 |   }
41 |
42 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
43 |     timer.tap()
44 |     switch buffer.write(element: newElement) {
45 |     case .flowed(let elements):
46 |       // TODO: align interface of Collection
47 |       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
48 |         $0.write(items: elements)
49 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:47: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
   :
40 |   }
41 |
42 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
43 |     timer.tap()
44 |     switch buffer.write(element: newElement) {
45 |     case .flowed(let elements):
46 |       // TODO: align interface of Collection
47 |       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
48 |         $0.write(items: elements)
49 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:57: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
   :
53 |   }
54 |
55 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
56 |     let elements = buffer.purge()
57 |     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
58 |       $0.write(items: elements)
59 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:57: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
   :
53 |   }
54 |
55 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
56 |     let elements = buffer.purge()
57 |     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
58 |       $0.write(items: elements)
59 |     }
[7/14] 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: sending @escaping () 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 }
[8/14] Compiling Bulk Target.swift
[9/14] 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 |       }
[10/14] Compiling Bulk PassthroughBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Compiling Bulk Buffer.swift
[12/14] Compiling Bulk FileBuffer.swift
[13/14] Compiling Bulk MemoryBuffer.swift
[14/14] 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: sending @escaping () 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/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
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/12] Compiling Bulk Target.swift
[3/13] 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 |       }
[4/13] Compiling Bulk CombineBulkSink.swift
[5/13] 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:47: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
   :
40 |   }
41 |
42 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
43 |     timer.tap()
44 |     switch buffer.write(element: newElement) {
45 |     case .flowed(let elements):
46 |       // TODO: align interface of Collection
47 |       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
48 |         $0.write(items: elements)
49 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:47: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
   :
40 |   }
41 |
42 |   public func send(_ newElement: Element) {
   |               `- note: add @available attribute to enclosing instance method
43 |     timer.tap()
44 |     switch buffer.write(element: newElement) {
45 |     case .flowed(let elements):
46 |       // TODO: align interface of Collection
47 |       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
48 |         $0.write(items: elements)
49 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:57: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
   :
53 |   }
54 |
55 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
56 |     let elements = buffer.purge()
57 |     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
58 |       $0.write(items: elements)
59 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Bulk/Core/BulkSink.swift:57: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
   :
53 |   }
54 |
55 |   public func flush() {
   |               `- note: add @available attribute to enclosing instance method
56 |     let elements = buffer.purge()
57 |     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
58 |       $0.write(items: elements)
59 |     }
[6/13] Compiling Bulk PassthroughBuffer.swift
[7/13] Compiling Bulk SerializerType.swift
[8/13] Compiling Bulk MemoryBuffer.swift
[9/13] 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: sending @escaping () 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 }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Compiling Bulk Buffer.swift
[11/13] Compiling Bulk FileBuffer.swift
[12/13] 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: sending @escaping () 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/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,
[13/13] Compiling Bulk CodableSerializer.swift
BUILD FAILURE 6.1 macosSpm