The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Flare, reference 3.0.2 (357425), with Swift 6.0 for Linux on 6 Nov 2024 00:09:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/flare.git
Reference: 3.0.2
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.0.2      -> FETCH_HEAD
HEAD is now at 357425f Release `3.0.2` (#69)
Cloned https://github.com/space-code/flare.git
Revision (git rev-parse @):
357425fd5ba73d9c8d3881129917ab2ca2e91d21
SUCCESS checkout https://github.com/space-code/flare.git at 3.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/space-code/log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/space-code/concurrency.git
Fetching https://github.com/space-code/atomic.git
[1/12446] Fetching swift-snapshot-testing
[499/12640] Fetching swift-snapshot-testing, atomic
[819/12706] Fetching swift-snapshot-testing, atomic, concurrency
[868/12932] Fetching swift-snapshot-testing, atomic, concurrency, log
[1106/14970] Fetching swift-snapshot-testing, atomic, concurrency, log, swift-docc-plugin
Fetched https://github.com/space-code/log.git from cache (0.42s)
[3539/14744] Fetching swift-snapshot-testing, atomic, concurrency, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
[1874/12706] Fetching swift-snapshot-testing, atomic, concurrency
Fetched https://github.com/space-code/atomic.git from cache (1.42s)
Fetched https://github.com/space-code/concurrency.git from cache (1.42s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.49s)
Computing version for https://github.com/space-code/log.git
Computed https://github.com/space-code/log.git at 1.1.0 (0.38s)
Computing version for https://github.com/space-code/atomic.git
Computed https://github.com/space-code/atomic.git at 1.0.1 (0.37s)
Computing version for https://github.com/space-code/concurrency.git
Computed https://github.com/space-code/concurrency.git at 0.0.3 (1.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.45s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.48s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66360] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.39s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/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.4.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.6
Creating working copy for https://github.com/space-code/log.git
Working copy of https://github.com/space-code/log.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.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/space-code/atomic.git
Working copy of https://github.com/space-code/atomic.git resolved at 1.0.1
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
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/Makefile
    /host/spi-builder-workspace/Sources/FlareUI/swiftgen.yml
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/17] Write sources
[7/17] Copying Info.plist
[7/17] Copying Localizable.strings
[9/17] Copying Info.plist
[9/17] Copying Localizable.strings
[11/17] Write sources
[12/17] Copying Localizable.strings
[14/17] Copying Assets.xcassets
[15/17] Copying Media.xcassets
[16/17] Write swift-version-24593BA9C3E375BF.txt
[18/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[19/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[20/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[21/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[22/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[23/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/44] 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
13 |
14 |     /// The underlying `os_unfair_lock` used for synchronization.
15 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 |     // MARK: Initialization
[25/44] Compiling Concurrency IDispatchQueueFactory.swift
[26/44] 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
13 |
14 |     /// The underlying `os_unfair_lock` used for synchronization.
15 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 |     // MARK: Initialization
[27/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[28/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[29/44] Compiling Concurrency IDispatchQueue.swift
[30/44] Emitting module Concurrency
[31/44] Compiling Concurrency DispatchQueueFactory.swift
[32/44] Compiling Concurrency DispatchQueue+IDispatchQueue.swift
[33/45] Compiling Atomic ILock.swift
[34/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
13 |
14 |     /// The underlying `os_unfair_lock` used for synchronization.
15 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 |     // MARK: Initialization
/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'
19 |     /// Initializes an UnfairLock instance.
20 |     init() {
21 |         unfairLock = .allocate(capacity: 1)
   |                       `- error: cannot infer contextual base in reference to member 'allocate'
22 |         unfairLock.initialize(to: os_unfair_lock())
23 |     }
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:22:35: error: cannot find 'os_unfair_lock' in scope
20 |     init() {
21 |         unfairLock = .allocate(capacity: 1)
22 |         unfairLock.initialize(to: os_unfair_lock())
   |                                   `- error: cannot find 'os_unfair_lock' in scope
23 |     }
24 |
/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
33 | extension UnfairLock: ILock {
34 |     func lock() {
35 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
36 |     }
37 |
/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
37 |
38 |     func unlock() {
39 |         os_unfair_lock_unlock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_unlock' in scope
40 |     }
41 | }
[35/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[36/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[37/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[38/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[40/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[41/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[42/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[43/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
[44/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'
 5 |
 6 | import Foundation
 7 | import OSLog
   |        `- error: no such module 'OSLog'
 8 |
 9 | // MARK: - OSPrinter
BUILD FAILURE 6.0 linux