Build Information
Failed to build morsel with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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: 1.1.9
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
* 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
========================================
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-4609320-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.19s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.43s)
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 CompressedSample.swift
[5/16] Compiling grip ByteHelpers.swift
[6/16] Emitting module grip
[7/16] Compiling grip BinaryEncodable.swift
[8/16] Compiling grip BinaryEncodableExtensions.swift
[9/16] Compiling grip NALU.swift
[10/16] Compiling grip AudioSamplePacket.swift
[11/17] Compiling grip StreamType.swift
[12/17] Compiling grip VideoDimensionsPacket.swift
[13/17] Compiling grip VideoParamSetPacket.swift
[14/17] Compiling grip Packets.swift
[15/17] Compiling grip StreamTypePacket.swift
[16/17] Compiling grip VideoSamplePacket.swift
[17/17] Compiling grip Writeable.swift
[19/67] 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 }
^
[20/67] 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 }
^
[21/67] 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 }
^
[22/67] 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 }
^
[23/67] 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 }
^
[24/67] 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 }
^
[25/67] 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 }
^
[26/73] Compiling morsel MOOVConfig.swift
[27/73] Compiling morsel HLSEventPlaylist.swift
[28/73] Compiling morsel HLSLivePlaylist.swift
[29/73] Compiling morsel HLSVODPlaylist.swift
[30/73] Compiling morsel Playlist.swift
[31/73] Compiling morsel PlaylistWriter.swift
[32/73] Compiling morsel STBL.swift
[33/73] Compiling morsel STCO.swift
[34/73] Compiling morsel STSC.swift
[35/73] Compiling morsel STSD.swift
[36/73] Compiling morsel STSZ.swift
[37/73] Compiling morsel STTS.swift
[38/73] Compiling morsel TFDT.swift
[39/73] Compiling morsel MOOF.swift
[40/73] Compiling morsel MOOV.swift
[41/73] Compiling morsel MP4A.swift
[42/73] Compiling morsel MVEX.swift
[43/73] Compiling morsel MVHD.swift
[44/73] Compiling morsel PASP.swift
[45/73] Compiling morsel SMHD.swift
[46/73] Compiling morsel Representation.swift
[47/73] Compiling morsel Sample.swift
[48/73] Compiling morsel Segment.swift
[49/73] Compiling morsel StreamSegmenter.swift
[50/73] Compiling morsel StreamState.swift
[51/73] Compiling morsel ThreadSafeArray.swift
[52/73] Compiling morsel General.swift
[53/73] Compiling morsel HDLR.swift
[54/73] Compiling morsel MDAT.swift
[55/73] Compiling morsel MDHD.swift
[56/73] Compiling morsel MDIA.swift
[57/73] Compiling morsel MFHD.swift
[58/73] Compiling morsel MINF.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 FragmentedMP4Writer.swift
/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 }
^
[4/11] Compiling morsel FragmentedMP4InitSegment.swift
[5/11] Compiling morsel FragmentedMP4Segment.swift
[6/11] Compiling morsel Representation.swift
[7/11] Compiling morsel PlaylistWriter.swift
[8/11] Compiling morsel String+Numbers.swift
[9/11] 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/11] 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)
^
[11/50] Compiling morsel MVHD.swift
[12/50] Compiling morsel PASP.swift
[13/50] Compiling morsel SMHD.swift
[14/50] Compiling morsel STBL.swift
[15/50] Compiling morsel STCO.swift
[16/50] Compiling morsel STSC.swift
[17/55] Compiling morsel STSD.swift
[18/55] Compiling morsel STSZ.swift
[19/55] Compiling morsel STTS.swift
[20/55] Compiling morsel TFDT.swift
[21/55] Compiling morsel TFHD.swift
[22/55] Compiling morsel FTYP.swift
[23/55] Compiling morsel General.swift
[24/55] Compiling morsel HDLR.swift
[25/55] Compiling morsel MDAT.swift
[26/55] Compiling morsel MDHD.swift
[27/55] Compiling morsel MDIA.swift
[28/55] Compiling morsel AVC1.swift
[29/55] Compiling morsel AVCC.swift
[30/55] Compiling morsel COLR.swift
[31/55] Compiling morsel DINF.swift
[32/55] Compiling morsel DREF.swift
[33/55] Compiling morsel ESDS.swift
[34/55] Compiling morsel VMHD.swift
[35/55] Compiling morsel MOOVConfig.swift
[36/55] Compiling morsel HLSEventPlaylist.swift
[37/55] Compiling morsel HLSLivePlaylist.swift
[38/55] Compiling morsel HLSVODPlaylist.swift
[39/55] Compiling morsel MFHD.swift
[40/55] Compiling morsel MINF.swift
[41/55] Compiling morsel MOOF.swift
[42/55] Compiling morsel MOOV.swift
[43/55] Compiling morsel MP4A.swift
[44/55] Compiling morsel MVEX.swift
[45/55] Compiling morsel TKHD.swift
[46/55] Compiling morsel TRAF.swift
[47/55] Compiling morsel TRAK.swift
[48/55] Compiling morsel TREX.swift
[49/55] Compiling morsel TRUN.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