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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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.9
Building package at path:  $workDir
https://github.com/RakuyoKit/RaLog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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
[4/12] Compiling RaLog RaLogCompatible.swift
[5/12] Compiling RaLog Filterable.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 Printable.swift
[8/12] Compiling RaLog Log.swift
[9/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 '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @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 '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
[10/12] Compiling RaLog LogModelProtocol.swift
[11/12] Compiling RaLog WebView+RaLog.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 '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @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 '() -> _' has 1 parameter, but context '() -> StorageMode' has 0
    @inlinable public init()
                      ^
error: fatalError
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/RakuyoKit/swift.git
[1/2194] Fetching swift
[594/14242] Fetching swift, swift-argument-parser
Fetched https://github.com/RakuyoKit/swift.git (2.25s)
Fetched https://github.com/apple/swift-argument-parser (2.25s)
Computing version for https://github.com/RakuyoKit/swift.git
Computed https://github.com/RakuyoKit/swift.git at 1.3.0 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.52s)
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
[4642926/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.52s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.1/SwiftFormat.artifactbundle.zip (2.35s)
BUILD FAILURE 5.9 macosSpm