The Swift Package Index logo.Swift Package Index

Build Information

Successful build of morsel, reference 1.1.9 (82b9d9), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 06:01:05 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.79s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (1.46s)
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "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",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/krad/morsel.git
[1/994] Fetching morsel
Fetched https://github.com/krad/morsel.git from cache (0.91s)
Fetching https://github.com/krad/grip.git from cache
Fetched https://github.com/krad/grip.git from cache (0.41s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.47s)
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 1.1.9 (82b9d97)
warning: '.resolve-product-dependencies': dependency 'morsel' is not used by any target
Found 1 product dependencies
  - grip
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/krad/morsel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/16] Compiling grip NALU.swift
[5/16] Compiling grip AudioSamplePacket.swift
[6/16] Compiling grip BinaryEncodable.swift
[7/16] Compiling grip BinaryEncodableExtensions.swift
[8/16] Compiling grip Packets.swift
[9/16] Emitting module grip
[10/16] Compiling grip CompressedSample.swift
[11/16] Compiling grip ByteHelpers.swift
[12/16] Compiling grip VideoSamplePacket.swift
[13/16] Compiling grip StreamTypePacket.swift
[14/16] Compiling grip StreamType.swift
[15/16] Compiling grip VideoDimensionsPacket.swift
[16/16] Compiling grip VideoParamSetPacket.swift
[17/17] Compiling grip Writeable.swift
[18/67] Compiling morsel MVHD.swift
[19/67] Compiling morsel PASP.swift
[20/67] Compiling morsel SMHD.swift
[21/67] Compiling morsel STBL.swift
[22/67] Compiling morsel STCO.swift
[23/67] Compiling morsel STSC.swift
[24/72] Compiling morsel VMHD.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
75 |     var pairs: [String] {
76 |         var result: [String] = []
77 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/72] Compiling morsel Codecs.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
75 |     var pairs: [String] {
76 |         var result: [String] = []
77 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/72] 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 [#DeprecatedDeclaration]
75 |     var pairs: [String] {
76 |         var result: [String] = []
77 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/72] 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 [#DeprecatedDeclaration]
75 |     var pairs: [String] {
76 |         var result: [String] = []
77 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[28/72] Compiling morsel FileWriterDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
75 |     var pairs: [String] {
76 |         var result: [String] = []
77 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                        `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
161 |
162 |         return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/72] Compiling morsel HLSLivePlaylist.swift
[30/72] Compiling morsel HLSVODPlaylist.swift
[31/72] Compiling morsel Playlist.swift
[32/72] Compiling morsel PlaylistWriter.swift
[33/72] Compiling morsel Representation.swift
[34/72] Emitting module morsel
[35/72] Compiling morsel MFHD.swift
[36/72] Compiling morsel MINF.swift
[37/72] Compiling morsel MOOF.swift
[38/72] Compiling morsel MOOV.swift
[39/72] Compiling morsel MP4A.swift
[40/72] Compiling morsel MVEX.swift
[41/72] Compiling morsel FTYP.swift
[42/72] Compiling morsel General.swift
[43/72] Compiling morsel HDLR.swift
[44/72] Compiling morsel MDAT.swift
[45/72] Compiling morsel MDHD.swift
[46/72] Compiling morsel MDIA.swift
[47/72] Compiling morsel AVC1.swift
[48/72] Compiling morsel AVCC.swift
[49/72] Compiling morsel COLR.swift
[50/72] Compiling morsel DINF.swift
[51/72] Compiling morsel DREF.swift
[52/72] Compiling morsel ESDS.swift
[53/72] Compiling morsel TKHD.swift
[54/72] Compiling morsel TRAF.swift
[55/72] Compiling morsel TRAK.swift
[56/72] Compiling morsel TREX.swift
[57/72] Compiling morsel TRUN.swift
[58/72] Compiling morsel FragmentedMP4InitSegment.swift
[59/72] Compiling morsel FragmentedMP4Segment.swift
[60/72] Compiling morsel FragmentedMP4Writer.swift
[61/72] Compiling morsel MOOVConfig.swift
[62/72] Compiling morsel HLSEventPlaylist.swift
[63/72] Compiling morsel STSD.swift
[64/72] Compiling morsel STSZ.swift
[65/72] Compiling morsel STTS.swift
[66/72] Compiling morsel TFDT.swift
[67/72] Compiling morsel TFHD.swift
[68/72] Compiling morsel Sample.swift
[69/72] Compiling morsel Segment.swift
[70/72] Compiling morsel StreamSegmenter.swift
[71/72] Compiling morsel StreamState.swift
[72/72] Compiling morsel ThreadSafeArray.swift
Build complete! (7.81s)
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.