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 dev (9be161), with Swift 5.9 for Linux on 24 May 2025 15:34:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/flare.git
Reference: dev
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            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at 9be161f Bump github.com/pointfreeco/swift-snapshot-testing from 1.18.3 to 1.18.4 (#114)
Cloned https://github.com/space-code/flare.git
Revision (git rev-parse @):
9be161fe72f6af3965d18973df9f9476f4319a8d
SUCCESS checkout https://github.com/space-code/flare.git at dev
========================================
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-4606859-2":/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:3c23ece1beca5e800bf06b435032bf1c62924d379eca6b5cec7cd50afe0368f1
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/log.git
Fetching https://github.com/space-code/atomic.git
[1/257] Fetching log
[258/484] Fetching log, atomic
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/space-code/log.git (0.24s)
Fetched https://github.com/space-code/atomic.git (0.24s)
Fetching https://github.com/space-code/concurrency.git
[1/155] Fetching concurrency
[119/2204] Fetching concurrency, swift-docc-plugin
[382/15386] Fetching concurrency, swift-docc-plugin, swift-snapshot-testing
Fetched https://github.com/space-code/concurrency.git (0.22s)
[754/15231] Fetching swift-docc-plugin, swift-snapshot-testing
Fetched https://github.com/apple/swift-docc-plugin (0.38s)
[923/13182] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.68s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.3 (1.33s)
Fetching https://github.com/apple/swift-syntax.git
[1/70441] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.56s)
Computing version for https://github.com/space-code/atomic.git
Computed https://github.com/space-code/atomic.git at 1.1.0 (0.36s)
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.45s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3387] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.37s)
Computing version for https://github.com/space-code/concurrency.git
Computed https://github.com/space-code/concurrency.git at 0.1.0 (0.37s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.54s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.70s)
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/concurrency.git
Working copy of https://github.com/space-code/concurrency.git resolved at 0.1.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/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-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-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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsHidden-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsHidden-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__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-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__/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__/ProductsViewSnapshotTests/test_productsView_products-macOS.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_largeStyle_whenIconIsVisible-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__/ProductsViewSnapshotTests/test_productsView_error-iOS.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-tvOS.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_customStyle_product-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_largeStyle_whenIconIsNotNil-iOS.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_loading-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-iOS.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_customStyle_product-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_product-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-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsVisible-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products-tvOS.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_whenIconIsVisible-macOS.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_error-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-tvOS.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-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_customStyle_product-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-tvOS.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_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__/SubscriptionsViewSnapshotTests/test_subscriptionsView_defaultStyle-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsHidden-macOS.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/9] Copying Info.plist
[2/9] Copying Localizable.strings
[6/9] Copying Info.plist
[7/9] Copying Assets.xcassets
[8/9] Copying Media.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
                            ^~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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
       ^
[12/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)
        ^~~~~~~~~~~~~~~~~~~~~
[13/36] Compiling Atomic ILock.swift
[14/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
                            ^~~~~~~~~~~~~~~~
[15/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
       ^
[16/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
       ^
[17/36] 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
       ^
[18/36] 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
       ^
[19/36] 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/36] 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/36] Compiling Concurrency IDispatchQueueFactory.swift
[22/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
       ^
[23/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
       ^
error: fatalError
/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 Concurrency IDispatchQueue.swift
[25/36] Compiling Concurrency DispatchQueue+IDispatchQueue.swift
BUILD FAILURE 5.9 linux