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 3.1.0 (c416e1), with Swift 5.9 for Linux on 6 Apr 2025 17:34:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/flare.git
Reference: 3.1.0
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
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at c416e18 Release `3.1.0` (#108)
Cloned https://github.com/space-code/flare.git
Revision (git rev-parse @):
c416e18567e7e50b743ebbea2f3d0a02a8c97f7d
SUCCESS checkout https://github.com/space-code/flare.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/space-code/atomic.git
Fetching https://github.com/space-code/log.git
[1/257] Fetching log
[235/484] Fetching log, atomic
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/space-code/log.git (0.23s)
[228/13297] Fetching atomic, swift-snapshot-testing
[621/15347] Fetching atomic, swift-snapshot-testing, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.38s)
Fetching https://github.com/space-code/concurrency.git
[1796/13297] Fetching atomic, swift-snapshot-testing
[4411/13452] Fetching atomic, swift-snapshot-testing, concurrency
Fetched https://github.com/space-code/concurrency.git (0.22s)
[4541/13297] Fetching atomic, swift-snapshot-testing
Fetched https://github.com/space-code/atomic.git (1.72s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.78s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.3 (1.11s)
Fetching https://github.com/apple/swift-syntax.git
[1/69869] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.70s)
Computing version for https://github.com/space-code/atomic.git
Computed https://github.com/space-code/atomic.git at 1.1.0 (0.32s)
Computing version for https://github.com/space-code/log.git
Computed https://github.com/space-code/log.git at 1.2.0 (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.38s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3365] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.34s)
Computing version for https://github.com/space-code/concurrency.git
Computed https://github.com/space-code/concurrency.git at 0.1.0 (0.39s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.58s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.50s)
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
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/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/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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
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/space-code/atomic.git
Working copy of https://github.com/space-code/atomic.git resolved at 1.1.0
warning: 'spi-builder-workspace': found 45 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-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_error-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_error-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsHidden-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsHidden-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__/ProductViewSnapshotTests/test_productView_product-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_error-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsHidden-macOS.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_products-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_product-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsHidden-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-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__/ProductViewSnapshotTests/test_productView_error-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__/ProductViewSnapshotTests/test_productView_product-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_whenIconIsHidden-tvOS.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_customStyle_product-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsVisible-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsVisible-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-macOS.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-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_largeStyle_whenIconIsNotNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsVisible-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_whenIconIsVisible-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/swiftgen.yml
    /host/spi-builder-workspace/Sources/Flare/Makefile
/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/9] Copying Localizable.strings
[5/9] Copying Info.plist
[7/9] Copying Media.xcassets
[8/9] Copying Assets.xcassets
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/34] 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
                            ^~~~~~~~~~~~~~~~
[11/34] Emitting module Concurrency
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/34] 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
       ^
[13/36] 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
       ^
[14/36] 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
       ^
[15/36] 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)
        ^~~~~~~~~~~~~~~~~~~~~
[16/36] 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
                            ^~~~~~~~~~~~~~~~
[17/36] Compiling Atomic ILock.swift
[18/36] 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
       ^
[19/36] 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
       ^
[20/36] 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
       ^
[21/36] 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
       ^
[22/36] 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
       ^
[23/36] 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
       ^
[24/36] 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
       ^
[25/36] 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
       ^
[26/36] 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
       ^
[27/36] Compiling Concurrency DispatchQueueFactory.swift
[28/36] Compiling Concurrency IDispatchQueueFactory.swift
[29/36] Compiling Concurrency DispatchQueue+IDispatchQueue.swift
[30/36] Compiling Concurrency IDispatchQueue.swift
[33/38] 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
       ^
[34/38] 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
       ^
[35/38] 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
       ^
[36/38] 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
       ^
[37/38] 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
       ^
[38/38] 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: fatalError
error: fatalError
BUILD FAILURE 5.9 linux