The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziLicense, reference main (e9e98a), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 23:02:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziLicense.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziLicense
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9e98ab Migrate unit test to Swift Testing (#9)
Cloned https://github.com/StanfordSpezi/SpeziLicense.git
Revision (git rev-parse @):
e9e98abb7d61cc4fc6831b0e9b439f7c717b5f4a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziLicense.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziLicense.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[45 / 71] SpeziLicense_SpeziLicense
[53 / 71]
[54 / 72] SwiftPackageList
[64 / 114]
[69 / 114]
[72 / 114]
[73 / 114]
[77 / 114]
[79 / 114]
[82 / 114]
[85 / 114]
[87 / 114]
[88 / 114]
[96 / 114] SwiftPackageList
[104 / 115] SwiftPackageList
[104 / 115] SpeziLicense
[110 / 192]
[115 / 192]
[117 / 192]
[125 / 192]
[127 / 192]
[128 / 192]
[133 / 192]
[135 / 192] SwiftPackageList
[139 / 192]
[142 / 192]
[147 / 192]
[150 / 192]
[152 / 192]
[153 / 192]
[163 / 192]
[165 / 192]
[166 / 192]
[169 / 192]
[171 / 192]
[183 / 192] SpeziLicense
Fetching https://github.com/FelixHerrmann/swift-package-list.git
Fetching https://github.com/StanfordSpezi/Spezi
[1/10350] Fetching spezi
[2/13783] Fetching spezi, swift-package-list
Fetched https://github.com/StanfordSpezi/Spezi (1.50s)
Fetched https://github.com/FelixHerrmann/swift-package-list.git (1.50s)
Computing version for https://github.com/FelixHerrmann/swift-package-list.git
Computed https://github.com/FelixHerrmann/swift-package-list.git at 4.10.0 (2.13s)
Fetching https://github.com/apple/swift-argument-parser
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.90s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.10.2 (2.64s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/3189] Fetching spezifoundation
[161/3924] Fetching spezifoundation, xctruntimeassertions
[3766/31617] Fetching spezifoundation, xctruntimeassertions, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git (3.78s)
Fetched https://github.com/apple/swift-collections.git (3.78s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git (3.78s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (4.49s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7 (0.69s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
[1/1875] Fetching swift-atomics
[20/65032] Fetching swift-atomics, zstd
[21/73197] Fetching swift-atomics, zstd, swift-log
[22/79342] Fetching swift-atomics, zstd, swift-log, swift-algorithms
[12729/79525] Fetching swift-atomics, zstd, swift-log, swift-algorithms, threadlocal
Fetched https://github.com/apple/swift-algorithms.git (5.57s)
Fetched https://github.com/apple/swift-log (5.57s)
Fetched https://github.com/StanfordBDHG/zstd.git (5.57s)
Fetched https://github.com/apple/swift-atomics.git (5.57s)
Fetched https://github.com/StanfordBDHG/ThreadLocal.git (5.57s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (7.77s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.44s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (7.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (8.36s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.67s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.62s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.66s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/FelixHerrmann/swift-package-list.git
Working copy of https://github.com/FelixHerrmann/swift-package-list.git resolved at 4.10.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.10.2
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.7
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.21s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Resources/Localizable.xcstrings.license
warning: 'spezifoundation': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'spezifoundation': couldn't find pc file for zlib
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Views/PackageCell.swift:122:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
120 |
121 | #if DEBUG
122 | #Preview(traits: .sizeThatFitsLayout) {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |     let mockPackage = Package(
124 |         kind: .remoteSourceControl,
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Bundle+ApplicationName.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/License.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Package+LicenseType.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/PackageList.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Views/ContributionsList.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Views/DisclosureIndicator.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Views/LicenseView.swift /Users/admin/builder/spi-builder-workspace/Sources/SpeziLicense/Views/PackageCell.swift /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/DerivedSources/GeneratedStringSymbols_Localizable.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SpeziLicense -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SpeziLicense.build/Debug/SpeziLicense-t.build/Objects-normal/arm64/SpeziLicense.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm