The Swift Package Index logo.Swift Package Index

Build Information

Failed to build morsel with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/morsel.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/krad/morsel.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.20s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.38s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling grip Packets.swift
[5/16] Compiling grip StreamTypePacket.swift
[6/16] Compiling grip VideoDimensionsPacket.swift
[7/16] Compiling grip VideoParamSetPacket.swift
[8/17] Compiling grip Writeable.swift
[9/17] Compiling grip BinaryEncodable.swift
[10/17] Compiling grip BinaryEncodableExtensions.swift
[11/17] Emitting module grip
[12/17] Compiling grip CompressedSample.swift
[13/17] Compiling grip ByteHelpers.swift
[14/17] Compiling grip NALU.swift
[15/17] Compiling grip AudioSamplePacket.swift
[16/17] Compiling grip StreamType.swift
[17/17] Compiling grip VideoSamplePacket.swift
[19/67] Compiling morsel Codecs.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[20/67] Compiling morsel NSDateComponents+ISO8601.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[21/67] Compiling morsel String+Numbers.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[22/67] Compiling morsel FileWriterDelegate.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[23/67] Compiling morsel FragmentedMP4InitSegment.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[24/67] Compiling morsel FragmentedMP4Segment.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[25/67] Compiling morsel FragmentedMP4Writer.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[26/73] Compiling morsel General.swift
[27/73] Compiling morsel HDLR.swift
[28/73] Compiling morsel MDAT.swift
[29/73] Compiling morsel MDHD.swift
[30/73] Compiling morsel MDIA.swift
[31/73] Compiling morsel MFHD.swift
[32/73] Compiling morsel MINF.swift
[33/73] Compiling morsel Representation.swift
[34/73] Compiling morsel Sample.swift
[35/73] Compiling morsel Segment.swift
[36/73] Compiling morsel StreamSegmenter.swift
[37/73] Compiling morsel StreamState.swift
[38/73] Compiling morsel ThreadSafeArray.swift
[39/73] Compiling morsel STBL.swift
[40/73] Compiling morsel STCO.swift
[41/73] Compiling morsel STSC.swift
[42/73] Compiling morsel STSD.swift
[43/73] Compiling morsel STSZ.swift
[44/73] Compiling morsel STTS.swift
[45/73] Compiling morsel TFDT.swift
[46/73] Compiling morsel MOOVConfig.swift
[47/73] Compiling morsel HLSEventPlaylist.swift
[48/73] Compiling morsel HLSLivePlaylist.swift
[49/73] Compiling morsel HLSVODPlaylist.swift
[50/73] Compiling morsel Playlist.swift
[51/73] Compiling morsel PlaylistWriter.swift
[52/73] Compiling morsel MOOF.swift
[53/73] Compiling morsel MOOV.swift
[54/73] Compiling morsel MP4A.swift
[55/73] Compiling morsel MVEX.swift
[56/73] Compiling morsel MVHD.swift
[57/73] Compiling morsel PASP.swift
[58/73] Compiling morsel SMHD.swift
[59/73] Compiling morsel TFHD.swift
[60/73] Compiling morsel TKHD.swift
[61/73] Compiling morsel TRAF.swift
[62/73] Compiling morsel TRAK.swift
[63/73] Compiling morsel TREX.swift
[64/73] Compiling morsel TRUN.swift
[65/73] Compiling morsel VMHD.swift
[66/73] Compiling morsel AVC1.swift
[67/73] Compiling morsel AVCC.swift
[68/73] Compiling morsel COLR.swift
[69/73] Compiling morsel DINF.swift
[70/73] Compiling morsel DREF.swift
[71/73] Compiling morsel ESDS.swift
[72/73] Compiling morsel FTYP.swift
[73/73] Emitting module morsel
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling morsel FileWriterDelegate.swift
[3/10] Compiling morsel Codecs.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly
        let characters = Array(self.characters)
                                    ^
[4/10] Compiling morsel String+Numbers.swift
[5/17] Compiling morsel PlaylistWriter.swift
[6/23] Compiling morsel FragmentedMP4Writer.swift
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[7/29] Compiling morsel FragmentedMP4Segment.swift
[8/29] Compiling morsel FragmentedMP4InitSegment.swift
[9/29] Compiling morsel NSDateComponents+ISO8601.swift
/host/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
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: note: use 'compactMap(_:)' instead
        let periodValues = periodUnits.flatMap(strForUnit)
                                       ^~~~~~~
                                       compactMap
/host/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
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: note: use 'compactMap(_:)' instead
        let timeValues   = timeUnits.flatMap(strForUnit)
                                     ^~~~~~~
                                     compactMap
[10/45] Compiling morsel Representation.swift
[11/50] Compiling morsel TKHD.swift
[12/50] Compiling morsel TRAF.swift
[13/50] Compiling morsel TRAK.swift
[14/50] Compiling morsel TREX.swift
[15/50] Compiling morsel TRUN.swift
[16/55] Compiling morsel FTYP.swift
[17/55] Compiling morsel General.swift
[18/55] Compiling morsel HDLR.swift
[19/55] Compiling morsel MDAT.swift
[20/55] Compiling morsel MDHD.swift
[21/55] Compiling morsel MDIA.swift
[22/55] Compiling morsel MVHD.swift
[23/55] Compiling morsel PASP.swift
[24/55] Compiling morsel SMHD.swift
[25/55] Compiling morsel STBL.swift
[26/55] Compiling morsel STCO.swift
[27/55] Compiling morsel STSC.swift
[28/55] Compiling morsel STSD.swift
[29/55] Compiling morsel STSZ.swift
[30/55] Compiling morsel STTS.swift
[31/55] Compiling morsel TFDT.swift
[32/55] Compiling morsel TFHD.swift
[33/55] Compiling morsel VMHD.swift
[34/55] Compiling morsel MOOVConfig.swift
[35/55] Compiling morsel HLSEventPlaylist.swift
[36/55] Compiling morsel HLSLivePlaylist.swift
[37/55] Compiling morsel HLSVODPlaylist.swift
[38/55] Compiling morsel MFHD.swift
[39/55] Compiling morsel MINF.swift
[40/55] Compiling morsel MOOF.swift
[41/55] Compiling morsel MOOV.swift
[42/55] Compiling morsel MP4A.swift
[43/55] Compiling morsel MVEX.swift
[44/55] Compiling morsel AVC1.swift
[45/55] Compiling morsel AVCC.swift
[46/55] Compiling morsel COLR.swift
[47/55] Compiling morsel DINF.swift
[48/55] Compiling morsel DREF.swift
[49/55] Compiling morsel ESDS.swift
[50/55] Compiling morsel Playlist.swift
[51/55] Compiling morsel Sample.swift
[52/55] Compiling morsel StreamSegmenter.swift
[53/55] Compiling morsel StreamState.swift
[54/55] Compiling morsel ThreadSafeArray.swift
[55/55] Emitting module morsel
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1