The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of morsel, reference master (975cdf), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 06:17:05 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/krad/morsel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/16] Compiling grip StreamTypePacket.swift
[5/17] Compiling grip Writeable.swift
[6/17] Compiling grip Packets.swift
[7/17] Compiling grip BinaryEncodable.swift
[8/17] Compiling grip BinaryEncodableExtensions.swift
[9/17] Emitting module grip
[10/17] Compiling grip CompressedSample.swift
[11/17] Compiling grip ByteHelpers.swift
[12/17] Compiling grip VideoDimensionsPacket.swift
[13/17] Compiling grip NALU.swift
[14/17] Compiling grip AudioSamplePacket.swift
[15/17] Compiling grip StreamType.swift
[16/17] Compiling grip VideoParamSetPacket.swift
[17/17] Compiling grip VideoSamplePacket.swift
[18/67] Compiling morsel STSD.swift
[19/67] Compiling morsel STSZ.swift
[20/67] Compiling morsel STTS.swift
[21/67] Compiling morsel TFDT.swift
[22/67] Compiling morsel TFHD.swift
[23/72] Emitting module morsel
[24/72] Compiling morsel MVHD.swift
[25/72] Compiling morsel PASP.swift
[26/72] Compiling morsel SMHD.swift
[27/72] Compiling morsel STBL.swift
[28/72] Compiling morsel STCO.swift
[29/72] Compiling morsel STSC.swift
[30/72] Compiling morsel MFHD.swift
[31/72] Compiling morsel MINF.swift
[32/72] Compiling morsel MOOF.swift
[33/72] Compiling morsel MOOV.swift
[34/72] Compiling morsel MP4A.swift
[35/72] Compiling morsel MVEX.swift
[36/72] Compiling morsel TKHD.swift
[37/72] Compiling morsel TRAF.swift
[38/72] Compiling morsel TRAK.swift
[39/72] Compiling morsel TREX.swift
[40/72] Compiling morsel TRUN.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 HLSLivePlaylist.swift
[54/72] Compiling morsel HLSVODPlaylist.swift
[55/72] Compiling morsel Playlist.swift
[56/72] Compiling morsel PlaylistWriter.swift
[57/72] Compiling morsel Representation.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 VMHD.swift
/Users/admin/builder/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#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>
[64/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 [#DeprecatedDeclaration]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#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>
[65/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 [#DeprecatedDeclaration]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#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>
[66/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 [#DeprecatedDeclaration]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#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>
[67/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 [#DeprecatedDeclaration]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
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 [#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>
[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! (8.66s)
Fetching https://github.com/krad/grip.git
[4/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.58s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (1.12s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
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.