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 1.7.4 (f89b6f), with Swift 5.8 for Linux on 12 Jul 2024 20:12:15 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.8-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: 1.7.4
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
 * tag               1.7.4      -> FETCH_HEAD
HEAD is now at f89b6fe Merge branch release/1.7.4
Cloned https://github.com/RakuyoKit/RaLog.git
Revision (git rev-parse @):
f89b6fe7ca4138f717a83f18bb80ce248acdbb6d
SUCCESS checkout https://github.com/RakuyoKit/RaLog.git at 1.7.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:25ae52e20f56ffaca5cfeeca46731079b0ef67b7dcd7f3dc3e93dc588d498392
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/RakuyoKit/swift.git
Fetching https://github.com/apple/swift-argument-parser
[1/2167] Fetching swift
[2168/14215] Fetching swift, swift-argument-parser
Fetched https://github.com/RakuyoKit/swift.git (1.40s)
Computing version for https://github.com/RakuyoKit/swift.git
Fetched https://github.com/apple/swift-argument-parser (1.41s)
Computed https://github.com/RakuyoKit/swift.git at 1.2.1 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.32s)
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at 1.2.1
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.0/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[1369/23040419] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.0/SwiftFormat.artifactbundle.zip
[41161/34074464] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.0/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.48s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.0/SwiftFormat.artifactbundle.zip (2.32s)
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[3/11] Compiling RaLog LogModelProtocol.swift
[4/12] Compiling RaLog Printable.swift
[5/12] Compiling RaLog Wrapper.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Compiling RaLog Built-in.swift
[7/12] Compiling RaLog Filterable.swift
[8/12] Compiling RaLog Log.swift
[9/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 '() -> StorageMode' requires 0 arguments, but 1 was provided
    @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 '() -> StorageMode' requires 0 arguments, but 1 was provided
    @inlinable public init()
                      ^
[10/12] Compiling RaLog RaLogCompatible.swift
[11/12] Compiling RaLog WebView+RaLog.swift
[12/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 '() -> StorageMode' requires 0 arguments, but 1 was provided
    @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 '() -> StorageMode' requires 0 arguments, but 1 was provided
    @inlinable public init()
                      ^
BUILD FAILURE 5.8 linux