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 RaLog, reference master (a12cac), with Swift 5.9 for Linux on 15 Jul 2024 09:21:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/RaLog.git
Reference: master
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/RakuyoKit/RaLog
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a12cac6 style: Update
Cloned https://github.com/RakuyoKit/RaLog.git
Revision (git rev-parse @):
a12cac6ca5661a8c094e7f33d7e78652285340c0
SUCCESS checkout https://github.com/RakuyoKit/RaLog.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/RakuyoKit/RaLog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" 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:94c03ecf5df463051a5b8bdec5d09f635a7b31b1b290e2ba09836b1f5f74db71
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/RakuyoKit/swift.git
Fetching https://github.com/apple/swift-argument-parser
[1/2194] Fetching swift
[2195/14242] Fetching swift, swift-argument-parser
Fetched https://github.com/RakuyoKit/swift.git (0.75s)
Computing version for https://github.com/RakuyoKit/swift.git
Fetched https://github.com/apple/swift-argument-parser (0.75s)
Computed https://github.com/RakuyoKit/swift.git at 1.3.0 (0.33s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.36s)
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[1397/23057043] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip
[17753/34091088] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.50s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip (2.46s)
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:49:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        process.launchPath = launchPath
                ^
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:49:17: note: use 'executableURL' instead
        process.launchPath = launchPath
                ^~~~~~~~~~
                executableURL
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[3/11] Compiling RaLog WebView+RaLog.swift
[4/12] Compiling RaLog Printable.swift
[5/12] Compiling RaLog Wrapper.swift
[6/12] Compiling RaLog RaLogCompatible.swift
[7/12] Compiling RaLog LogModelProtocol.swift
[8/12] Compiling RaLog Storable.swift
/host/spi-builder-workspace/Sources/Core/Storable.swift:26:32: error: 'RawValue' is not a member type of struct 'RaLog.StorageMode'
    public init(rawValue: Self.RawValue) {
                          ~~~~ ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:14:15: note: 'StorageMode' declared here
public struct StorageMode: OptionSet {
              ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:30: error: no exact matches in call to initializer
    public static let disk = Self(rawValue: 1 << 0)
                             ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:30: note: candidate expects value of type 'StorageMode' for parameter #1 (got 'Int')
    public static let disk = Self(rawValue: 1 << 0)
                             ^
Swift.OptionSet:2:23: note: candidate '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:32: error: no exact matches in call to initializer
    public static let memory = Self(rawValue: 1 << 1)
                               ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:32: note: candidate expects value of type 'StorageMode' for parameter #1 (got 'Int')
    public static let memory = Self(rawValue: 1 << 1)
                               ^
Swift.OptionSet:2:23: note: candidate '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Compiling RaLog Built-in.swift
[10/12] Compiling RaLog Filterable.swift
[11/12] Compiling RaLog Log.swift
[12/12] Emitting module RaLog
/host/spi-builder-workspace/Sources/Core/Storable.swift:26:32: error: 'RawValue' is not a member type of struct 'RaLog.StorageMode'
    public init(rawValue: Self.RawValue) {
                          ~~~~ ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:14:15: note: 'StorageMode' declared here
public struct StorageMode: OptionSet {
              ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:30: error: no exact matches in call to initializer
    public static let disk = Self(rawValue: 1 << 0)
                             ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:30: note: candidate expects value of type 'StorageMode' for parameter #1 (got 'Int')
    public static let disk = Self(rawValue: 1 << 0)
                             ^
Swift.OptionSet:2:23: note: candidate '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:32: error: no exact matches in call to initializer
    public static let memory = Self(rawValue: 1 << 1)
                               ^
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:32: note: candidate expects value of type 'StorageMode' for parameter #1 (got 'Int')
    public static let memory = Self(rawValue: 1 << 1)
                               ^
Swift.OptionSet:2:23: note: candidate '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
error: fatalError
BUILD FAILURE 5.9 linux