Build Information
Failed to build morsel, reference 1.1.9 (82b9d9), with Swift 6.4 for Linux on 16 Sep 2026 17:51:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: 6.4
Building package at path: $PWD
https://github.com/krad/morsel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.47s)
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]
[34 / 49] grip
[42 / 59] morsel
[43 / 59] morsel
[44 / 59] morsel
[54 / 59] AllExcludingTests
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
[57 / 60] morsel
/host/spi-builder-workspace/Sources/morsel/Codecs.swift:77:37: [1;33mwarning: [1;39m'characters' is deprecated: Please use String directly[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m75 |[0;0m var pairs: [String] {
[0;36m76 |[0;0m var result: [String] = []
[0;36m77 |[0;0m let characters = Array(self.characters)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'characters' is deprecated: Please use String directly[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m78 |[0;0m stride(from: 0, to: characters.count, by: 2).forEach {
[0;36m79 |[0;0m result.append(String(characters[$0..<min($0+2, characters.count)]))
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:159:40: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m157 |[0;0m let timeUnits: [NSCalendar.Unit] = [.hour, .minute, .second]
[0;36m158 |[0;0m
[0;36m159 |[0;0m let periodValues = periodUnits.flatMap(strForUnit)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m160 |[0;0m let timeValues = timeUnits.flatMap(strForUnit)
[0;36m161 |[0;0m
/host/spi-builder-workspace/Sources/morsel/Extensions/NSDateComponents+ISO8601.swift:160:38: [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m158 |[0;0m
[0;36m159 |[0;0m let periodValues = periodUnits.flatMap(strForUnit)
[0;36m160 |[0;0m let timeValues = timeUnits.flatMap(strForUnit)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'compactMap(_:)' instead[0;0m
[0;36m161 |[0;0m
[0;36m162 |[0;0m return ["P", periodValues.joined(), "T", timeValues.joined()].joined()
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Segment.swift:24:33: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m22 |[0;0m
[0;36m23 |[0;0m if !FileManager.default.fileExists(atPath: file.path) {
[0;36m24 |[0;0m FileManager.default.createFile(atPath: file.path, contents: nil, attributes: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m25 |[0;0m }
[0;36m26 |[0;0m
/host/spi-builder-workspace/Sources/morsel/FragmentedMP4Writer.swift:48:17: [1;31merror: [1;39mcannot convert value of type 'ObjCBool' to expected argument type 'Bool'[0;0m
[0;36m46 |[0;0m if !pathExists { throw FragmentedMP4WriterError.directoryDoesNotExist }
[0;36m47 |[0;0m #if os(Linux)
[0;36m48 |[0;0m if !isDir { throw FragmentedMP4WriterError.fileNotDirectory }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'ObjCBool' to expected argument type 'Bool'[0;0m
[0;36m49 |[0;0m #else
[0;36m50 |[0;0m 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