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.10 for Linux on 6 Apr 2025 17:34:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.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.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-0":/host -w "$PWD" 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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/space-code/log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/space-code/atomic.git
Fetching https://github.com/space-code/concurrency.git
[1/227] Fetching atomic
[228/484] Fetching atomic, log
[408/639] Fetching atomic, log, concurrency
[640/2689] Fetching atomic, log, concurrency, swift-docc-plugin
Fetched https://github.com/space-code/concurrency.git from cache (0.25s)
Fetched https://github.com/space-code/log.git from cache (0.26s)
[473/2277] Fetching atomic, swift-docc-plugin
[2278/15347] Fetching atomic, swift-docc-plugin, swift-snapshot-testing
Fetched https://github.com/space-code/atomic.git from cache (1.66s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.66s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.72s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.3 (1.18s)
Fetching https://github.com/apple/swift-syntax.git
[1/69869] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.46s)
Computing version for https://github.com/space-code/atomic.git
Computed https://github.com/space-code/atomic.git at 1.1.0 (0.43s)
Computing version for https://github.com/space-code/log.git
Computed https://github.com/space-code/log.git at 1.2.0 (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.51s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3365] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/space-code/concurrency.git
Computed https://github.com/space-code/concurrency.git at 0.1.0 (0.33s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.42s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.54s)
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
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/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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.3
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__/ProductsViewSnapshotTests/test_productsView_products-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_product-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_whenIconIsVisible-tvOS.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_error-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsVisible-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_loading-macOS.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_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__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNotNil-macOS.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_product-tvOS.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-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsHidden-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_customStyle_product-macOS.1.png
    /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-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_products_withRestoreButtons-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-iOS.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_defaultStyle-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_error-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_largeStyle_whenIconIsHidden-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__/ProductInfoViewSnapshotTests/test_productInfoView_compactStyle_whenIconIsNil-iOS.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_loading-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductViewSnapshotTests/test_productView_customStyle_product-tvOS.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_whenIconIsHidden-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__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_whenIconIsVisible-macOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/SubscriptionsViewSnapshotTests/test_subscriptionsView_customStyle-tvOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductsViewSnapshotTests/test_productsView_error-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__/ProductInfoViewSnapshotTests/test_productInfoView_largeStyle_whenIconIsNil-iOS.1.png
    /host/spi-builder-workspace/Tests/SnapshotTests/__Snapshots__/ProductPlaceholderViewSnapshotTests/test_productPlaceholderView_compactStyle_whenIconIsVisible-iOS.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
[2/17] Copying Localizable.strings
[2/17] Write sources
[2/17] Copying Localizable.strings
[2/17] Write sources
[7/17] Copying Info.plist
[12/17] Copying Localizable.strings
[14/17] Copying Media.xcassets
[15/17] Copying Assets.xcassets
[16/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/42] 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
       ^
[19/44] Compiling Concurrency IDispatchQueue.swift
[20/44] Compiling Concurrency IDispatchQueueFactory.swift
[21/44] 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
       ^
[22/44] 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
       ^
[23/44] Compiling Concurrency DispatchQueueFactory.swift
[24/44] 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
       ^
[25/44] 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
       ^
[26/44] 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
       ^
[27/44] 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
       ^
[28/44] 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
       ^
[29/44] 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
       ^
[30/44] 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
       ^
[31/44] Emitting module Concurrency
[32/44] Compiling Concurrency DispatchQueue+IDispatchQueue.swift
[34/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
       ^
[35/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
       ^
[36/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
       ^
[37/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
       ^
[38/45] 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
       ^
[39/45] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/45] Compiling Atomic ILock.swift
[41/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
                            ^~~~~~~~~~~~~~~~
[42/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
                            ^~~~~~~~~~~~~~~~
[43/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)
        ^~~~~~~~~~~~~~~~~~~~~
[44/45] 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
       ^
[45/45] 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
       ^
error: fatalError
error: fatalError
BUILD FAILURE 5.10 linux