The Swift Package Index logo.Swift Package Index

Build Information

Failed to build morsel, reference master (975cdf), with Swift 6.4 for Linux on 16 Sep 2026 17:51:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/krad/morsel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git (0.48s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.67s)
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...
[Pre-planning 1 / 96]
[6 / 39] AllExcludingTests
[34 / 49] grip
[35 / 49] grip
[43 / 59] morsel
/host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift:33:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
34 |         }
35 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[44 / 59] morsel
[54 / 59] AllExcludingTests
[54 / 59] grip
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile FragmentedMP4Writer.swift
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:78:37: warning: 'characters' is deprecated: Please use String directly [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
76 |     var pairs: [String] {
77 |         var result: [String] = []
78 |         let characters = Array(self.characters)
   |                                     `- warning: 'characters' is deprecated: Please use String directly [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                        `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                      `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/morsel/Atoms/AVC1.swift /host/spi-builder-workspace/Sources/morsel/Atoms/AVCC.swift /host/spi-builder-workspace/Sources/morsel/Atoms/COLR.swift /host/spi-builder-workspace/Sources/morsel/Atoms/DINF.swift /host/spi-builder-workspace/Sources/morsel/Atoms/DREF.swift /host/spi-builder-workspace/Sources/morsel/Atoms/ESDS.swift /host/spi-builder-workspace/Sources/morsel/Atoms/FTYP.swift /host/spi-builder-workspace/Sources/morsel/Atoms/General.swift /host/spi-builder-workspace/Sources/morsel/Atoms/HDLR.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MDAT.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MDHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MDIA.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MFHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MINF.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MOOF.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MOOV.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MP4A.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MVEX.swift /host/spi-builder-workspace/Sources/morsel/Atoms/MVHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/PASP.swift /host/spi-builder-workspace/Sources/morsel/Atoms/SMHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STBL.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STCO.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STSC.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STSD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STSZ.swift /host/spi-builder-workspace/Sources/morsel/Atoms/STTS.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TFDT.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TFHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TKHD.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TRAF.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TRAK.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TREX.swift /host/spi-builder-workspace/Sources/morsel/Atoms/TRUN.swift /host/spi-builder-workspace/Sources/morsel/Atoms/VMHD.swift -primary-file /host/spi-builder-workspace/Sources/morsel/Codecs.swift -primary-file /host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift -primary-file /host/spi-builder-workspace/Sources/morsel/Extensions/String+Numbers.swift -primary-file /host/spi-builder-workspace/Sources/morsel/FileWriterDelegate.swift -primary-file /host/spi-builder-workspace/Sources/morsel/FragmentedMP4InitSegment.swift -primary-file /host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift -primary-file /host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift /host/spi-builder-workspace/Sources/morsel/MOOVConfig.swift /host/spi-builder-workspace/Sources/morsel/Playlists/HLS/HLSEventPlaylist.swift /host/spi-builder-workspace/Sources/morsel/Playlists/HLS/HLSLivePlaylist.swift /host/spi-builder-workspace/Sources/morsel/Playlists/HLS/HLSVODPlaylist.swift /host/spi-builder-workspace/Sources/morsel/Playlists/Playlist.swift /host/spi-builder-workspace/Sources/morsel/Playlists/PlaylistWriter.swift /host/spi-builder-workspace/Sources/morsel/Representation.swift /host/spi-builder-workspace/Sources/morsel/Sample.swift /host/spi-builder-workspace/Sources/morsel/Segment.swift /host/spi-builder-workspace/Sources/morsel/StreamSegmenter.swift /host/spi-builder-workspace/Sources/morsel/StreamState.swift /host/spi-builder-workspace/Sources/morsel/ThreadSafeArray.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/supplementaryOutputs-6 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name morsel -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/morsel_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/Codecs.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/NSDateComponents+ISO8601.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/String+Numbers.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FileWriterDelegate.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4InitSegment.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4Segment.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4Writer.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/Codecs.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/NSDateComponents+ISO8601.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/String+Numbers.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FileWriterDelegate.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4InitSegment.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4Segment.o -index-unit-output-path /morsel.build/Debug-linux-x86_64/morsel-t.build/Objects-normal/x86_64/FragmentedMP4Writer.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux