Build Information
Failed to build spfk-testing, reference main (5baf5e), with Swift 6.2 for macOS (SPM) on 3 Nov 2026 13:52:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanfrancesconi/spfk-testing.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanfrancesconi/spfk-testing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5baf5ec Add 5.1 tone fixtures for surround decoding
Cloned https://github.com/ryanfrancesconi/spfk-testing.git
Revision (git rev-parse @):
5baf5ecb6f725cb1b4640b5ed471b8a88f1dbfbd
SUCCESS checkout https://github.com/ryanfrancesconi/spfk-testing.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ryanfrancesconi/spfk-testing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/123] Write sources
[0/123] Copying 123456789_60BPM_48k.wav
[0/123] Write sources
[3/123] Copying bext_ixml_external.flac
[3/123] Copying and-oh-how-they-danced.mp3
[3/123] Copying ITUNSMPB.m4a
[3/123] Copying and-oh-how-they-danced.wav
[4/123] Copying and-oh-how-they-danced_2.wav
[4/123] Copying xmp.mp3
[6/123] Copying toc_many_children.mp3
[9/123] Copying tabla_pcm_long_blocks.mka
[9/123] Copying tabla_pcm.mka
[9/123] Copying tabla_legacy_picture.flac
[9/123] Copying tabla_flac.mka
[9/123] Copying tabla_6_channel.wav
[14/123] Copying tabla.wav
[14/123] Copying tabla.ogg
[14/123] Copying tabla_cprt.m4a
[18/123] Copying tabla.mp3
[18/123] Copying tabla.mp4
[18/123] Copying tabla.mka
[19/123] Copying tabla.m4a
[19/123] Copying tabla.aac
[19/123] Copying tabla.aif
[24/123] Copying tabla.flac
[25/123] Copying surround_vorbis.ogg
[25/123] Copying tabla.caf
[25/123] Copying surround_flac.mka
[25/123] Copying surround_opus.mka
[25/123] Copying surround_eac3.mka
[25/123] Copying surround_ac3.mka
[25/123] Copying surround_aac.mka
[25/123] Copying stereo_eac3.mka
[32/123] Copying sine_popularimeter.wma
[32/123] Copying surround_opus.opus
[35/123] Copying sine.wma
[35/123] Copying songbird.jpg
[35/123] Copying sine.wv
[35/123] Copying sine.w64
[36/123] Copying sine.snd
[40/123] Copying sine.ts
[40/123] Copying sine.opus
[40/123] Copying sine.m4v
[43/123] Copying sine.m4b
[44/123] Copying sine.au
[44/123] Copying sharksandwich.jpg
[45/123] Copying sine.aifc
[47/123] Copying sharksandwich.webp
[47/123] Copying sample.wmv
[47/123] Copying sample.mxf
[47/123] Copying sample.webm
[47/123] Copying sample.mov
[47/123] Copying sharksandwich.heic
[53/123] Copying sample.mkv
[53/123] Copying sample-timecode-offset.mov
[53/123] Copying sample-nested-seekhead.mkv
[53/123] Copying sample.mka
[55/123] Copying sample-timecode.mov
[55/123] Copying sample.avi
[59/123] Copying sample-interleaved-cues.mkv
[60/123] Copying sample-dualaudio.mov
[60/123] Copying rated_80.mp3
[61/123] Copying rated_80.ogg
[62/123] Copying sample-dualaudio.mkv
[62/123] Copying qtmeta.mov
[62/123] Copying pink_noise.wav
[62/123] Copying rated_80.flac
[62/123] Copying rated_80.aif
[64/123] Copying rated_80.wav
[66/123] Copying rated_80.m4a
[67/123] Copying no_data_chunk.wav
[67/123] Copying no metadata.mp3
[67/123] Copying key_standard.flac
[67/123] Copying key_standard.m4a
[67/123] Copying key_standard.mp3
[67/123] Copying key_root.mp3
[67/123] Copying key_vorbis_key.flac
[77/123] Copying key_root.m4a
[77/123] Copying key_root.flac
[78/123] Copying key_relative.m4a
[79/123] Copying key_relative.mp3
[79/123] Copying key_piano.mp3
[80/123] Copying key_piano.m4a
[82/123] Copying key_relative.flac
[84/123] Copying key_piano.flac
[84/123] Copying key_openkey.mp3
[84/123] Copying key_openkey.m4a
[84/123] Copying key_openkey.flac
[84/123] Copying key_off.mp3
[84/123] Copying key_off.m4a
[88/123] Copying key_glyph.mp3
[88/123] Copying key_glyph.m4a
[88/123] Copying key_off.flac
[88/123] Copying key_glyph.flac
[94/123] Copying key_comment.flac
[94/123] Copying key_comment.m4a
[94/123] Copying key_comment.mp3
[94/123] Copying key_camelot.mp3
[94/123] Copying key_camelot.flac
[97/123] Copying key_camelot.m4a
[97/123] Copying key_abmin.mp3
[100/123] Copying ixml.wav
[100/123] Copying key_abmin.m4a
[100/123] Copying gsharp_major.mp3
[103/123] Copying g_major.mp3
[105/123] Copying key_abmin.flac
[105/123] Copying e_major.mp3
[107/123] Copying dualaudio.mka
[107/123] Copying foreign_comment_deu.mp3
[109/123] Copying dualaudio.m4a
[109/123] Copying d_major.mp3
[109/123] Copying f_major.mp3
[109/123] Copying dsharp_major.mp3
[109/123] Copying csharp_major.mp3
[109/123] Copying fsharp_major.mp3
[115/123] Copying cowbell_bext.wav
[116/123] Copying cowbell.wav
[117/123] Copying c_major.mp3
[118/123] Copying b_major.mp3
[118/123] Copying a_major.mp3
[120/123] Copying asharp_major.mp3
[120/123] Copying boom.addAudio
[122/123] Write swift-version--3CB7CFEC50E0D141.txt
[124/151] Compiling SPFKBench Measure.swift
[125/151] Compiling SPFKBench RegressionRun.swift
[126/151] Compiling SPFKBench BenchSamples.swift
[127/151] Emitting module SPFKBench
[128/151] Compiling SPFKTesting RIFFChunks+BEXT.swift
[129/151] Compiling SPFKTesting RIFFChunks.swift
[130/151] Compiling SPFKTesting RecordingIssues.swift
[131/151] Compiling SPFKTesting TestBundleResources+KeyTags.swift
[132/151] Compiling SPFKTesting TestBundleResources+Surround.swift
[133/153] Emitting module SPFKTesting
[134/153] Compiling SPFKTesting XMLTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPFKTesting/XMLTree.swift:22:68: error: value of optional type 'Data.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Data.Index' (aka 'Int')
19 | public init(_ data: Data) throws {
20 | let builder = Builder()
21 | let end = data.lastIndex { $0 != 0 }.map { data.index(after: $0) } ?? data.startIndex
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
22 | let parser = XMLParser(data: Data(data[data.startIndex ..< end]))
| |- error: value of optional type 'Data.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Data.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
23 | parser.delegate = builder
24 |
[135/153] Compiling SPFKTesting resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPFKTesting/XMLTree.swift:22:68: error: value of optional type 'Data.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Data.Index' (aka 'Int')
19 | public init(_ data: Data) throws {
20 | let builder = Builder()
21 | let end = data.lastIndex { $0 != 0 }.map { data.index(after: $0) } ?? data.startIndex
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
22 | let parser = XMLParser(data: Data(data[data.startIndex ..< end]))
| |- error: value of optional type 'Data.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Data.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
23 | parser.delegate = builder
24 |
[136/153] Compiling SPFKTesting ID3v2Frames+Tag.swift
[137/153] Compiling SPFKTesting MP4Atoms.swift
[138/153] Compiling SPFKTesting MatroskaElements.swift
[139/153] Compiling SPFKTesting MatroskaTestFile.swift
[140/153] Compiling SPFKTesting MediaChunkReaders.swift
[141/153] Compiling SPFKTesting OggPackets.swift
[142/153] Compiling SPFKTesting AIFFChunks.swift
[143/153] Compiling SPFKTesting AudioTestFile.swift
[144/153] Compiling SPFKTesting BundleResources.swift
[145/153] Compiling SPFKTesting TestBundleResources+ForeignTags.swift
[146/153] Compiling SPFKTesting TestBundleResources+FormatCoverage.swift
[147/153] Compiling SPFKTesting Tags+.swift
[148/153] Compiling SPFKTesting TemporaryDefaults.swift
[149/153] Compiling SPFKTesting TestBundleResources.swift
[150/153] Compiling SPFKTesting VorbisComment.swift
[151/153] Compiling SPFKTesting FLACBlocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPFKTesting/ID3v2Frames+Bodies.swift:292:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
290 |
291 | let pairs = Array(body)
292 | let units = stride(from: 0, to: pairs.count - 1, by: 2).map { i in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
293 | littleEndian
294 | ? UInt16(pairs[i]) | UInt16(pairs[i + 1]) << 8
[152/153] Compiling SPFKTesting FileXattrs.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPFKTesting/ID3v2Frames+Bodies.swift:292:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
290 |
291 | let pairs = Array(body)
292 | let units = stride(from: 0, to: pairs.count - 1, by: 2).map { i in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
293 | littleEndian
294 | ? UInt16(pairs[i]) | UInt16(pairs[i + 1]) << 8
[153/153] Compiling SPFKTesting ID3v2Frames+Bodies.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPFKTesting/ID3v2Frames+Bodies.swift:292:17: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
290 |
291 | let pairs = Array(body)
292 | let units = stride(from: 0, to: pairs.count - 1, by: 2).map { i in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
293 | littleEndian
294 | ? UInt16(pairs[i]) | UInt16(pairs[i + 1]) << 8
BUILD FAILURE 6.2 macosSpm