Build Information
Failed to build morsel, reference master (975cdf
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 06:11:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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 /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: 6.2
Building package at path: $PWD
https://github.com/krad/morsel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/krad/grip.git
[2/176] Fetching grip
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 (1.34s)
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 NALU.swift
[5/16] Compiling grip AudioSamplePacket.swift
[6/17] Emitting module grip
[7/17] Compiling grip BinaryEncodable.swift
[8/17] Compiling grip BinaryEncodableExtensions.swift
[9/17] Compiling grip Writeable.swift
[10/17] Compiling grip CompressedSample.swift
[11/17] Compiling grip ByteHelpers.swift
[12/17] Compiling grip VideoSamplePacket.swift
[13/17] Compiling grip Packets.swift
[14/17] Compiling grip StreamTypePacket.swift
[15/17] Compiling grip StreamType.swift
[16/17] Compiling grip VideoDimensionsPacket.swift
[17/17] Compiling grip VideoParamSetPacket.swift
[19/67] Compiling morsel STBL.swift
[20/67] Compiling morsel STCO.swift
[21/67] Compiling morsel STSC.swift
[22/67] Compiling morsel STSD.swift
[23/67] Compiling morsel STSZ.swift
[24/67] Compiling morsel STTS.swift
[25/67] Compiling morsel TFDT.swift
[26/73] Compiling morsel MOOVConfig.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[27/73] Compiling morsel HLSEventPlaylist.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[28/73] Compiling morsel HLSLivePlaylist.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[29/73] Compiling morsel HLSVODPlaylist.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[30/73] Compiling morsel Playlist.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[31/73] Compiling morsel PlaylistWriter.swift
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 |
32 | if !FileManager.default.fileExists(atPath: self.playlistURL.path) {
33 | FileManager.default.createFile(atPath: self.playlistURL.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
34 | }
35 |
[32/73] Compiling morsel General.swift
[33/73] Compiling morsel HDLR.swift
[34/73] Compiling morsel MDAT.swift
[35/73] Compiling morsel MDHD.swift
[36/73] Compiling morsel MDIA.swift
[37/73] Compiling morsel MFHD.swift
[38/73] Compiling morsel MINF.swift
[39/73] Compiling morsel Representation.swift
[40/73] Compiling morsel Sample.swift
[41/73] Compiling morsel Segment.swift
[42/73] Compiling morsel StreamSegmenter.swift
[43/73] Compiling morsel StreamState.swift
[44/73] Compiling morsel ThreadSafeArray.swift
[45/73] Compiling morsel TFHD.swift
[46/73] Compiling morsel TKHD.swift
[47/73] Compiling morsel TRAF.swift
[48/73] Compiling morsel TRAK.swift
[49/73] Compiling morsel TREX.swift
[50/73] Compiling morsel TRUN.swift
[51/73] Compiling morsel VMHD.swift
[52/73] Compiling morsel Codecs.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[53/73] Compiling morsel NSDateComponents+ISO8601.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[54/73] Compiling morsel String+Numbers.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[55/73] Compiling morsel FileWriterDelegate.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[56/73] Compiling morsel FragmentedMP4InitSegment.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[57/73] Compiling morsel FragmentedMP4Segment.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[58/73] Compiling morsel FragmentedMP4Writer.swift
/host/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)]))
/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 [#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 |
/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 [#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()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
22 |
23 | if !FileManager.default.fileExists(atPath: file.path) {
24 | FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
25 | }
26 |
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:74:17: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
72 | if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
73 | #if os(Linux)
74 | if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
75 | #else
76 | if !isDir.boolValue { throw FragmentedMP4WriterError.fileNotDirectory }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[59/73] Compiling morsel MOOF.swift
[60/73] Compiling morsel MOOV.swift
[61/73] Compiling morsel MP4A.swift
[62/73] Compiling morsel MVEX.swift
[63/73] Compiling morsel MVHD.swift
[64/73] Compiling morsel PASP.swift
[65/73] Compiling morsel SMHD.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
BUILD FAILURE 6.2 linux