The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Flare, reference main (741d8d), with Swift 5.10 for Linux on 1 Dec 2025 18:25:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/flare.git
Reference: main
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/space-code/flare
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 741d8d1 chore(changelog): update CHANGELOG.md
Cloned https://github.com/space-code/flare.git
Revision (git rev-parse @):
741d8d143461829704c716b48f50149b6ef23096
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/space-code/flare.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/space-code/flare.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/space-code/atomic.git
Fetching https://github.com/space-code/concurrency.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/space-code/log.git
[1/257] Fetching log
[258/484] Fetching log, atomic
[483/639] Fetching log, atomic, concurrency
[640/2797] Fetching log, atomic, concurrency, swift-docc-plugin
Fetched https://github.com/space-code/concurrency.git from cache (0.61s)
[743/2642] Fetching log, atomic, swift-docc-plugin
[1241/18275] Fetching log, atomic, swift-docc-plugin, swift-snapshot-testing
Fetched https://github.com/space-code/atomic.git from cache (0.92s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.92s)
[1039/15890] Fetching log, swift-snapshot-testing
Fetched https://github.com/space-code/log.git from cache (2.79s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.04s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.3 (2.03s)
Fetching https://github.com/apple/swift-syntax.git
[1/73000] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.37s)
Computing version for https://github.com/space-code/atomic.git
Computed https://github.com/space-code/atomic.git at 1.1.0 (0.82s)
Computing version for https://github.com/space-code/log.git
Computed https://github.com/space-code/log.git at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.66s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3583] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/space-code/concurrency.git
Computed https://github.com/space-code/concurrency.git at 0.1.0 (0.44s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.71s)
Creating working copy for https://github.com/space-code/log.git
Working copy of https://github.com/space-code/log.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/space-code/atomic.git
Working copy of https://github.com/space-code/atomic.git resolved at 1.1.0
Creating working copy for https://github.com/space-code/concurrency.git
Working copy of https://github.com/space-code/concurrency.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.3
warning: 'spi-builder-workspace': found 30 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_largeStyle_whenIconIsNotNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsVisible-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_customStyle_product-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsHidden-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_error-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_product-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsHidden-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_customStyle_product-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsHidden-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_error-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_product-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_largeStyle_whenIconIsNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_error-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_error-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-tvOS.1.png
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FlareUI/swiftgen.yml
    /host/spi-builder-workspace/Sources/FlareUI/Makefile
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Flare/Makefile
    /host/spi-builder-workspace/Sources/Flare/swiftgen.yml
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/17] Write sources
[4/17] Copying Info.plist
[4/17] Copying Localizable.strings
[4/17] Write sources
[5/17] Copying Localizable.strings
[10/17] Copying Info.plist
[14/17] Copying Assets.xcassets
[15/17] Copying Media.xcassets
[16/17] Write swift-version-24593BA9C3E375BF.txt
[18/42] Emitting module Concurrency
[19/42] Compiling Log IOSWriter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[20/42] Compiling Log OSWriter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[21/44] Compiling Concurrency DispatchQueueFactory.swift
[22/44] Compiling Concurrency IDispatchQueueFactory.swift
[23/44] Compiling Concurrency DispatchQueue+IDispatchQueue.swift
[24/44] Compiling Concurrency IDispatchQueue.swift
[25/44] Compiling Log IOSWriterStrategy.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[26/44] Compiling Log LogLevel.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[27/45] Compiling Log IPrinterStrategy.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[28/45] Compiling Log IStyleLogStrategy.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[29/45] Compiling Log ConsolePrinter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[30/45] Compiling Log IPrinter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[31/45] Compiling Log ILogger.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[32/45] Compiling Log Logger.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[33/45] Compiling Log ConsoleWriter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[34/45] Compiling Log IConsoleWriter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[35/45] Compiling Log OSPrinter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[36/45] Compiling Log Atomic.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/45] Compiling Atomic ILock.swift
[38/45] Emitting module Atomic
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
    private let unfairLock: os_unfair_lock_t
                            ^~~~~~~~~~~~~~~~
[39/45] Compiling Atomic UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
    private let unfairLock: os_unfair_lock_t
                            ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:21:23: error: cannot infer contextual base in reference to member 'allocate'
        unfairLock = .allocate(capacity: 1)
                     ~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:22:35: error: cannot find 'os_unfair_lock' in scope
        unfairLock.initialize(to: os_unfair_lock())
                                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:35:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(unfairLock)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:39:9: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_unlock(unfairLock)
        ^~~~~~~~~~~~~~~~~~~~~
[40/45] Compiling Atomic Atomic.swift
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
    private let unfairLock: os_unfair_lock_t
                            ^~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/45] Emitting module Log
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[43/45] Compiling Log ILogFormatter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[44/45] Compiling Log PrefixLogFormatter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
[45/45] Compiling Log TimestampLogFormatter.swift
/host/spi-builder-workspace/.build/checkouts/log/Sources/Log/Classes/Core/Printers/OSPrinter.swift:7:8: error: no such module 'OSLog'
import OSLog
       ^
error: fatalError
error: fatalError
BUILD FAILURE 5.10 linux