Build Information
Successful build of morsel, reference 1.1.9 (82b9d9
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 17:56:44 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: 1.1.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krad/morsel
* tag 1.1.9 -> FETCH_HEAD
HEAD is now at 82b9d97 Bumping grip dependency for swift 4.1 compatibility
Cloned https://github.com/krad/morsel.git
Revision (git rev-parse @):
82b9d970613c00a964ca6cacce3a3e1e97bcdc08
SUCCESS checkout https://github.com/krad/morsel.git at 1.1.9
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.65s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.66s)
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.93s)
Fetching https://github.com/krad/grip.git from cache
Fetched https://github.com/krad/grip.git from cache (0.46s)
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/morsel.git
Working copy of https://github.com/krad/morsel.git resolved at 1.1.9 (82b9d97)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
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 VideoParamSetPacket.swift
[5/16] Compiling grip Packets.swift
[6/17] Compiling grip Writeable.swift
[7/17] Compiling grip StreamType.swift
[8/17] Compiling grip StreamTypePacket.swift
[9/17] Compiling grip VideoDimensionsPacket.swift
[10/17] Compiling grip VideoSamplePacket.swift
[11/17] Compiling grip NALU.swift
[12/17] Compiling grip AudioSamplePacket.swift
[13/17] Compiling grip CompressedSample.swift
[14/17] Compiling grip ByteHelpers.swift
[15/17] Emitting module grip
[16/17] Compiling grip BinaryEncodable.swift
[17/17] Compiling grip BinaryEncodableExtensions.swift
[18/67] Compiling morsel VMHD.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly
75 | var pairs: [String] {
76 | var result: [String] = []
77 | let characters = Array(self.characters)
| `- warning: 'characters' is deprecated: Please use String directly
78 | stride(from: 0, to: characters.count, by: 2).forEach {
79 | 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()
[19/67] Compiling morsel Codecs.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly
75 | var pairs: [String] {
76 | var result: [String] = []
77 | let characters = Array(self.characters)
| `- warning: 'characters' is deprecated: Please use String directly
78 | stride(from: 0, to: characters.count, by: 2).forEach {
79 | 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()
[20/67] Compiling morsel NSDateComponents+ISO8601.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly
75 | var pairs: [String] {
76 | var result: [String] = []
77 | let characters = Array(self.characters)
| `- warning: 'characters' is deprecated: Please use String directly
78 | stride(from: 0, to: characters.count, by: 2).forEach {
79 | 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()
[21/67] Compiling morsel String+Numbers.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly
75 | var pairs: [String] {
76 | var result: [String] = []
77 | let characters = Array(self.characters)
| `- warning: 'characters' is deprecated: Please use String directly
78 | stride(from: 0, to: characters.count, by: 2).forEach {
79 | 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()
[22/67] Compiling morsel FileWriterDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly
75 | var pairs: [String] {
76 | var result: [String] = []
77 | let characters = Array(self.characters)
| `- warning: 'characters' is deprecated: Please use String directly
78 | stride(from: 0, to: characters.count, by: 2).forEach {
79 | 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()
[23/72] Compiling morsel MFHD.swift
[24/72] Compiling morsel MINF.swift
[25/72] Compiling morsel MOOF.swift
[26/72] Compiling morsel MOOV.swift
[27/72] Compiling morsel MP4A.swift
[28/72] Compiling morsel MVEX.swift
[29/72] Compiling morsel MVHD.swift
[30/72] Compiling morsel PASP.swift
[31/72] Compiling morsel SMHD.swift
[32/72] Compiling morsel STBL.swift
[33/72] Compiling morsel STCO.swift
[34/72] Compiling morsel STSC.swift
[35/72] Compiling morsel HLSLivePlaylist.swift
[36/72] Compiling morsel HLSVODPlaylist.swift
[37/72] Compiling morsel Playlist.swift
[38/72] Compiling morsel PlaylistWriter.swift
[39/72] Compiling morsel Representation.swift
[40/72] Compiling morsel FragmentedMP4InitSegment.swift
[41/72] Compiling morsel FragmentedMP4Segment.swift
[42/72] Compiling morsel FragmentedMP4Writer.swift
[43/72] Compiling morsel MOOVConfig.swift
[44/72] Compiling morsel HLSEventPlaylist.swift
[45/72] Compiling morsel STSD.swift
[46/72] Compiling morsel STSZ.swift
[47/72] Compiling morsel STTS.swift
[48/72] Compiling morsel TFDT.swift
[49/72] Compiling morsel TFHD.swift
[50/72] Compiling morsel TKHD.swift
[51/72] Compiling morsel TRAF.swift
[52/72] Compiling morsel TRAK.swift
[53/72] Compiling morsel TREX.swift
[54/72] Compiling morsel TRUN.swift
[55/72] Compiling morsel FTYP.swift
[56/72] Compiling morsel General.swift
[57/72] Compiling morsel HDLR.swift
[58/72] Compiling morsel MDAT.swift
[59/72] Compiling morsel MDHD.swift
[60/72] Compiling morsel MDIA.swift
[61/72] Compiling morsel AVC1.swift
[62/72] Compiling morsel AVCC.swift
[63/72] Compiling morsel COLR.swift
[64/72] Compiling morsel DINF.swift
[65/72] Compiling morsel DREF.swift
[66/72] Compiling morsel ESDS.swift
[67/72] Emitting module morsel
[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! (20.30s)
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.