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.8 for macOS (SPM) on 15 Jul 2024 09:29:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/RakuyoKit/RaLog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[3/12] Compiling RaLog Wrapper.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Compiling RaLog Printable.swift
[5/12] Compiling RaLog RaLogCompatible.swift
[6/12] Compiling RaLog LogModelProtocol.swift
[7/12] Compiling RaLog Filterable.swift
[8/12] Emitting module RaLog
/Users/admin/builder/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) {
                          ~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/Core/Storable.swift:14:15: note: 'StorageMode' declared here
public struct StorageMode: OptionSet {
              ^
/Users/admin/builder/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)
                             ^
/Users/admin/builder/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()
                      ^
/Users/admin/builder/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)
                               ^
/Users/admin/builder/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()
                      ^
[9/12] Compiling RaLog Log.swift
[10/12] Compiling RaLog WebView+RaLog.swift
[11/12] Compiling RaLog Built-in.swift
[12/12] Compiling RaLog Storable.swift
/Users/admin/builder/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) {
                          ~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/Core/Storable.swift:14:15: note: 'StorageMode' declared here
public struct StorageMode: OptionSet {
              ^
/Users/admin/builder/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)
                             ^
/Users/admin/builder/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()
                      ^
/Users/admin/builder/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)
                               ^
/Users/admin/builder/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()
                      ^
Fetching https://github.com/RakuyoKit/swift.git
Fetching https://github.com/apple/swift-argument-parser
[1/2194] Fetching swift
[879/14242] Fetching swift, swift-argument-parser
Fetched https://github.com/RakuyoKit/swift.git (2.00s)
Fetched https://github.com/apple/swift-argument-parser (2.00s)
Computing version for https://github.com/RakuyoKit/swift.git
Computed https://github.com/RakuyoKit/swift.git at 1.3.0 (0.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.54s)
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
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at 1.3.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
[32750/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[69294/34091088] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.57s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip (2.25s)
BUILD FAILURE 5.8 macosSpm