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

Successful build of morsel, reference master (975cdf), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 17:56:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/morsel.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krad/morsel
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 975cdf9 Updating the docs a bit
Cloned https://github.com/krad/morsel.git
Revision (git rev-parse @):
975cdf97b5733faeb951d53d6d90c98578336031
SUCCESS checkout https://github.com/krad/morsel.git at master
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.68s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.65s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "morsel",
      "name": "morsel",
      "url": "https://github.com/krad/morsel.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/morsel",
      "dependencies": [
        {
          "identity": "grip",
          "name": "grip",
          "url": "https://github.com/krad/grip.git",
          "version": "1.3.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/grip",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/krad/morsel.git
[1/994] Fetching morsel
Fetched https://github.com/krad/morsel.git from cache (0.95s)
Fetching https://github.com/krad/grip.git from cache
Fetched https://github.com/krad/grip.git from cache (0.50s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.02s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
Creating working copy for https://github.com/krad/morsel.git
Working copy of https://github.com/krad/morsel.git resolved at master (975cdf9)
warning: '.resolve-product-dependencies': dependency 'morsel' is not used by any target
Found 1 product dependencies
  - grip
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/krad/morsel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/16] Compiling grip VideoDimensionsPacket.swift
[5/16] Compiling grip VideoSamplePacket.swift
[6/16] Compiling grip Packets.swift
[7/16] Compiling grip VideoParamSetPacket.swift
[8/16] Compiling grip StreamType.swift
[9/16] Compiling grip StreamTypePacket.swift
[10/16] Compiling grip BinaryEncodable.swift
[11/16] Compiling grip BinaryEncodableExtensions.swift
[12/16] Compiling grip CompressedSample.swift
[13/16] Compiling grip ByteHelpers.swift
[14/16] Emitting module grip
[15/16] Compiling grip NALU.swift
[16/16] Compiling grip AudioSamplePacket.swift
[17/17] Compiling grip Writeable.swift
[18/67] Compiling morsel FTYP.swift
[19/67] Compiling morsel General.swift
[20/67] Compiling morsel HDLR.swift
[21/67] Compiling morsel MDAT.swift
[22/67] Compiling morsel MDHD.swift
[23/67] Compiling morsel MDIA.swift
[24/72] Compiling morsel VMHD.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly
79 |         stride(from: 0, to: characters.count, by: 2).forEach {
80 |             result.append(String(characters[$0..<min($0+2, characters.count)]))
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
157 |         let timeUnits: [NSCalendar.Unit]   = [.hour, .minute, .second]
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
    |                                        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                        `- note: use 'compactMap(_:)' instead
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
161 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[25/72] Compiling morsel Codecs.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly
79 |         stride(from: 0, to: characters.count, by: 2).forEach {
80 |             result.append(String(characters[$0..<min($0+2, characters.count)]))
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
157 |         let timeUnits: [NSCalendar.Unit]   = [.hour, .minute, .second]
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
    |                                        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                        `- note: use 'compactMap(_:)' instead
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
161 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[26/72] Compiling morsel NSDateComponents+ISO8601.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly
79 |         stride(from: 0, to: characters.count, by: 2).forEach {
80 |             result.append(String(characters[$0..<min($0+2, characters.count)]))
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
157 |         let timeUnits: [NSCalendar.Unit]   = [.hour, .minute, .second]
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
    |                                        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                        `- note: use 'compactMap(_:)' instead
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
161 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[27/72] Compiling morsel String+Numbers.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly
79 |         stride(from: 0, to: characters.count, by: 2).forEach {
80 |             result.append(String(characters[$0..<min($0+2, characters.count)]))
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
157 |         let timeUnits: [NSCalendar.Unit]   = [.hour, .minute, .second]
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
    |                                        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                        `- note: use 'compactMap(_:)' instead
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
161 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[28/72] Compiling morsel FileWriterDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly
79 |         stride(from: 0, to: characters.count, by: 2).forEach {
80 |             result.append(String(characters[$0..<min($0+2, characters.count)]))
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
157 |         let timeUnits: [NSCalendar.Unit]   = [.hour, .minute, .second]
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
    |                                        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                        `- note: use 'compactMap(_:)' instead
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
161 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
158 |
159 |         let periodValues = periodUnits.flatMap(strForUnit)
160 |         let timeValues   = timeUnits.flatMap(strForUnit)
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[29/72] Compiling morsel STSD.swift
[30/72] Compiling morsel STSZ.swift
[31/72] Compiling morsel STTS.swift
[32/72] Compiling morsel TFDT.swift
[33/72] Compiling morsel TFHD.swift
[34/72] Compiling morsel MVHD.swift
[35/72] Compiling morsel PASP.swift
[36/72] Compiling morsel SMHD.swift
[37/72] Compiling morsel STBL.swift
[38/72] Compiling morsel STCO.swift
[39/72] Compiling morsel STSC.swift
[40/72] Compiling morsel HLSLivePlaylist.swift
[41/72] Compiling morsel HLSVODPlaylist.swift
[42/72] Compiling morsel Playlist.swift
[43/72] Compiling morsel PlaylistWriter.swift
[44/72] Compiling morsel Representation.swift
[45/72] Compiling morsel TKHD.swift
[46/72] Compiling morsel TRAF.swift
[47/72] Compiling morsel TRAK.swift
[48/72] Compiling morsel TREX.swift
[49/72] Compiling morsel TRUN.swift
[50/72] Compiling morsel MFHD.swift
[51/72] Compiling morsel MINF.swift
[52/72] Compiling morsel MOOF.swift
[53/72] Compiling morsel MOOV.swift
[54/72] Compiling morsel MP4A.swift
[55/72] Compiling morsel MVEX.swift
[56/72] Compiling morsel FragmentedMP4InitSegment.swift
[57/72] Compiling morsel FragmentedMP4Segment.swift
[58/72] Compiling morsel FragmentedMP4Writer.swift
[59/72] Compiling morsel MOOVConfig.swift
[60/72] Compiling morsel HLSEventPlaylist.swift
[61/72] Emitting module morsel
[62/72] Compiling morsel AVC1.swift
[63/72] Compiling morsel AVCC.swift
[64/72] Compiling morsel COLR.swift
[65/72] Compiling morsel DINF.swift
[66/72] Compiling morsel DREF.swift
[67/72] Compiling morsel ESDS.swift
[68/72] Compiling morsel Sample.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:54: warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                                      `- warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:23:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
21 |
22 |     internal func remove(at index: Int) {
23 |         q.async(flags: .barrier) { self.array.remove(at: index) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:27:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
25 |
26 |     internal func removeFirst(n: Int) {
27 |         q.async(flags: .barrier) { self.array.removeFirst(n) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:40: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                        `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:60: warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                                            `- warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
[69/72] Compiling morsel Segment.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:54: warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                                      `- warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:23:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
21 |
22 |     internal func remove(at index: Int) {
23 |         q.async(flags: .barrier) { self.array.remove(at: index) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:27:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
25 |
26 |     internal func removeFirst(n: Int) {
27 |         q.async(flags: .barrier) { self.array.removeFirst(n) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:40: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                        `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:60: warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                                            `- warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
[70/72] Compiling morsel StreamSegmenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:54: warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                                      `- warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:23:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
21 |
22 |     internal func remove(at index: Int) {
23 |         q.async(flags: .barrier) { self.array.remove(at: index) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:27:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
25 |
26 |     internal func removeFirst(n: Int) {
27 |         q.async(flags: .barrier) { self.array.removeFirst(n) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:40: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                        `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:60: warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                                            `- warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
[71/72] Compiling morsel StreamState.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:54: warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                                      `- warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:23:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
21 |
22 |     internal func remove(at index: Int) {
23 |         q.async(flags: .barrier) { self.array.remove(at: index) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:27:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
25 |
26 |     internal func removeFirst(n: Int) {
27 |         q.async(flags: .barrier) { self.array.removeFirst(n) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:40: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                        `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:60: warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                                            `- warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
[72/72] Compiling morsel ThreadSafeArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:19:54: warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
17 |
18 |     internal func append(_ newElement: T) {
19 |         q.async(flags: .barrier) { self.array.append(newElement) }
   |                                                      `- warning: capture of 'newElement' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |     }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:23:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
21 |
22 |     internal func remove(at index: Int) {
23 |         q.async(flags: .barrier) { self.array.remove(at: index) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:27:36: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
25 |
26 |     internal func removeFirst(n: Int) {
27 |         q.async(flags: .barrier) { self.array.removeFirst(n) }
   |                                    `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 |     }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:40: warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                `- note: generic class 'ThreadSafeArray' does not conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                        `- warning: capture of 'self' with non-sendable type 'ThreadSafeArray<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift:56:60: warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 2 | import Dispatch
 3 |
 4 | internal class ThreadSafeArray<T>: Collection {
   |                                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     var startIndex: Int = 0
   :
54 |     internal subscript(index: Int) -> T {
55 |         set {
56 |             q.async(flags: .barrier) { self.array[index] = newValue }
   |                                                            `- warning: capture of 'newValue' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |         }
58 |
Build complete! (18.63s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "grip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krad/grip.git"
    }
  ],
  "manifest_display_name" : "morsel",
  "name" : "morsel",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "morsel",
      "targets" : [
        "morsel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "morselTests",
      "module_type" : "SwiftTarget",
      "name" : "morselTests",
      "path" : "Tests/morselTests",
      "product_dependencies" : [
        "grip"
      ],
      "sources" : [
        "CodecTests.swift",
        "FragmentedMP4WriterTests.swift",
        "HLSEventPlaylistTests.swift",
        "HLSLivePlaylistTests.swift",
        "HLSVODPlaylistTests.swift",
        "ISO8601DurationTests.swift",
        "PathHelpers.swift",
        "PlaylistWriterTests.swift",
        "RepresentationTests.swift",
        "StreamSegmenterTests.swift"
      ],
      "target_dependencies" : [
        "morsel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "morsel",
      "module_type" : "SwiftTarget",
      "name" : "morsel",
      "path" : "Sources/morsel",
      "product_dependencies" : [
        "grip"
      ],
      "product_memberships" : [
        "morsel"
      ],
      "sources" : [
        "Atoms/AVC1.swift",
        "Atoms/AVCC.swift",
        "Atoms/COLR.swift",
        "Atoms/DINF.swift",
        "Atoms/DREF.swift",
        "Atoms/ESDS.swift",
        "Atoms/FTYP.swift",
        "Atoms/General.swift",
        "Atoms/HDLR.swift",
        "Atoms/MDAT.swift",
        "Atoms/MDHD.swift",
        "Atoms/MDIA.swift",
        "Atoms/MFHD.swift",
        "Atoms/MINF.swift",
        "Atoms/MOOF.swift",
        "Atoms/MOOV.swift",
        "Atoms/MP4A.swift",
        "Atoms/MVEX.swift",
        "Atoms/MVHD.swift",
        "Atoms/PASP.swift",
        "Atoms/SMHD.swift",
        "Atoms/STBL.swift",
        "Atoms/STCO.swift",
        "Atoms/STSC.swift",
        "Atoms/STSD.swift",
        "Atoms/STSZ.swift",
        "Atoms/STTS.swift",
        "Atoms/TFDT.swift",
        "Atoms/TFHD.swift",
        "Atoms/TKHD.swift",
        "Atoms/TRAF.swift",
        "Atoms/TRAK.swift",
        "Atoms/TREX.swift",
        "Atoms/TRUN.swift",
        "Atoms/VMHD.swift",
        "Codecs.swift",
        "Extensions/NSDateComponents+ISO8601.swift",
        "Extensions/String+Numbers.swift",
        "FileWriterDelegate.swift",
        "FragmentedMP4InitSegment.swift",
        "FragmentedMP4Segment.swift",
        "FragmentedMP4Writer.swift",
        "MOOVConfig.swift",
        "Playlists/HLS/HLSEventPlaylist.swift",
        "Playlists/HLS/HLSLivePlaylist.swift",
        "Playlists/HLS/HLSVODPlaylist.swift",
        "Playlists/Playlist.swift",
        "Playlists/PlaylistWriter.swift",
        "Representation.swift",
        "Sample.swift",
        "Segment.swift",
        "StreamSegmenter.swift",
        "StreamState.swift",
        "ThreadSafeArray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.