The Swift Package Index logo.Swift Package Index

Build Information

Failed to build morsel with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/morsel.git
Reference: 1.1.9
Cloned https://github.com/krad/morsel.git into spi-builder-workspace
SUCCESS checkout https://github.com/krad/morsel.git at 1.1.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git (0.25s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.33s)
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...
[1/13] Compiling grip StreamType.swift
[2/14] Compiling grip Packets.swift
[3/14] Compiling grip StreamTypePacket.swift
[4/14] Compiling grip VideoDimensionsPacket.swift
[5/14] Compiling grip VideoParamSetPacket.swift
[6/14] Compiling grip VideoSamplePacket.swift
[7/14] Compiling grip Writeable.swift
[8/14] Compiling grip CompressedSample.swift
[9/14] Compiling grip ByteHelpers.swift
[10/14] Emitting module grip
[11/14] Compiling grip BinaryEncodable.swift
[12/14] Compiling grip BinaryEncodableExtensions.swift
[13/14] Compiling grip NALU.swift
[14/14] Compiling grip AudioSamplePacket.swift
[17/65] Compiling morsel Codecs.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[18/65] Compiling morsel NSDateComponents+ISO8601.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[19/65] Compiling morsel String+Numbers.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[20/65] Compiling morsel FileWriterDelegate.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[21/65] Compiling morsel FragmentedMP4InitSegment.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[22/65] Compiling morsel FragmentedMP4Segment.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[23/65] Compiling morsel FragmentedMP4Writer.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77: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:48:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
            if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
                ^
[24/71] Compiling morsel MOOVConfig.swift
[25/71] Compiling morsel HLSEventPlaylist.swift
[26/71] Compiling morsel HLSLivePlaylist.swift
[27/71] Compiling morsel HLSVODPlaylist.swift
[28/71] Compiling morsel Playlist.swift
[29/71] Compiling morsel PlaylistWriter.swift
[30/71] Compiling morsel General.swift
[31/71] Compiling morsel HDLR.swift
[32/71] Compiling morsel MDAT.swift
[33/71] Compiling morsel MDHD.swift
[34/71] Compiling morsel MDIA.swift
[35/71] Compiling morsel MFHD.swift
[36/71] Compiling morsel MINF.swift
[37/71] Compiling morsel MOOF.swift
[38/71] Compiling morsel MOOV.swift
[39/71] Compiling morsel MP4A.swift
[40/71] Compiling morsel MVEX.swift
[41/71] Compiling morsel MVHD.swift
[42/71] Compiling morsel PASP.swift
[43/71] Compiling morsel SMHD.swift
[44/71] Compiling morsel Representation.swift
[45/71] Compiling morsel Sample.swift
[46/71] Compiling morsel Segment.swift
[47/71] Compiling morsel StreamSegmenter.swift
[48/71] Compiling morsel StreamState.swift
[49/71] Compiling morsel ThreadSafeArray.swift
[50/71] Emitting module morsel
[51/71] Compiling morsel TFHD.swift
[52/71] Compiling morsel TKHD.swift
[53/71] Compiling morsel TRAF.swift
[54/71] Compiling morsel TRAK.swift
[55/71] Compiling morsel TREX.swift
[56/71] Compiling morsel TRUN.swift
[57/71] Compiling morsel VMHD.swift
[58/71] Compiling morsel STBL.swift
[59/71] Compiling morsel STCO.swift
[60/71] Compiling morsel STSC.swift
[61/71] Compiling morsel STSD.swift
[62/71] Compiling morsel STSZ.swift
[63/71] Compiling morsel STTS.swift
[64/71] Compiling morsel TFDT.swift
[65/71] Compiling morsel AVC1.swift
[66/71] Compiling morsel AVCC.swift
[67/71] Compiling morsel COLR.swift
[68/71] Compiling morsel DINF.swift
[69/71] Compiling morsel DREF.swift
[70/71] Compiling morsel ESDS.swift
[71/71] Compiling morsel FTYP.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1