Build Information
Successful build of Ifrit, reference main (024025
), with Swift 6.0 for Linux on 5 Nov 2024 14:36:05 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/ukushu/Ifrit.git
Reference: main
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/ukushu/Ifrit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0240251 Update README.md
Cloned https://github.com/ukushu/Ifrit.git
Revision (git rev-parse @):
0240251c688cca825f9bd5d6b4b30cf429d62e78
SUCCESS checkout https://github.com/ukushu/Ifrit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ukushu/Ifrit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse_LICENSE
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/22] Compiling Ifrit FuzzyResultSegment.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
[4/22] Compiling Ifrit Score.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
[5/24] Compiling Ifrit Searchable.swift
[6/24] Compiling Ifrit Array+.swift
[7/24] Compiling Ifrit String+Fuse.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/FuzzyResult.swift:28:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct FuzzyResult {
| `- note: consider making struct 'FuzzyResult' conform to the 'Sendable' protocol
8 | public let segments: [FuzzyResultSegment]
9 |
:
26 | }
27 |
28 | static let empty: FuzzyResult = FuzzyResult(segments: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | func reversed() -> FuzzyResult {
[8/24] Compiling Ifrit Alignment.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/FuzzyResult.swift:28:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct FuzzyResult {
| `- note: consider making struct 'FuzzyResult' conform to the 'Sendable' protocol
8 | public let segments: [FuzzyResultSegment]
9 |
:
26 | }
27 |
28 | static let empty: FuzzyResult = FuzzyResult(segments: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | func reversed() -> FuzzyResult {
[9/24] Emitting module Ifrit
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/FuzzyResult.swift:28:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct FuzzyResult {
| `- note: consider making struct 'FuzzyResult' conform to the 'Sendable' protocol
8 | public let segments: [FuzzyResultSegment]
9 |
:
26 | }
27 |
28 | static let empty: FuzzyResult = FuzzyResult(segments: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | func reversed() -> FuzzyResult {
[10/24] Compiling Ifrit Fuzzy.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/FuzzyResult.swift:28:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct FuzzyResult {
| `- note: consider making struct 'FuzzyResult' conform to the 'Sendable' protocol
8 | public let segments: [FuzzyResultSegment]
9 |
:
26 | }
27 |
28 | static let empty: FuzzyResult = FuzzyResult(segments: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | func reversed() -> FuzzyResult {
[11/24] Compiling Ifrit FuzzyResult.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/FuzzyResult.swift:28:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct FuzzyResult {
| `- note: consider making struct 'FuzzyResult' conform to the 'Sendable' protocol
8 | public let segments: [FuzzyResultSegment]
9 |
:
26 | }
27 |
28 | static let empty: FuzzyResult = FuzzyResult(segments: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'FuzzyResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | func reversed() -> FuzzyResult {
[12/24] Compiling Ifrit Fuse+ArrObjects.swift
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:70:42: warning: capture of 'chunk' with non-sendable type 'ArraySlice<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | /// instructions how to use: https://github.com/ukushu/Ifrit/blob/main/Docs/FuseInstructions.md
51 | ///
52 | public func search<T>(_ text: String, in aList: [T],
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | by keyPath: KeyPath<T, [FuseProp]>,
54 | chunkSize: Int = 100,
:
68 |
69 | self.searchQueue.async {
70 | for (index, item) in chunk.enumerated() {
| `- warning: capture of 'chunk' with non-sendable type 'ArraySlice<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | var scores = [Double]()
72 | var totalScore = 0.0
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:76:39: warning: capture of 'keyPath' with non-sendable type 'KeyPath<T, [FuseProp]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | var propertyResults = [(value: String, diffScore: Double, ranges: [CountableClosedRange<Int>])]()
75 |
76 | item[keyPath: keyPath].forEach { property in
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<T, [FuseProp]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:45: warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:57: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:45: warning: capture of 'self' with non-sendable type 'Fuse' in an isolated closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in an isolated closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:57: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in an isolated closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in an isolated closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:95:25: warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
93 |
94 | resultLock.lock()
95 | collectionResult.append((
| `- warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
96 | index: chunkIndex * chunkSize + index,
97 | diffScore: totalScore / Double(scores.count),
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:110:17: warning: capture of 'completion' with non-sendable type '([FuzzySrchResult]) -> Void' (aka '(Array<(index: Int, diffScore: Double, results: Array<(value: String, diffScore: Double, ranges: Array<ClosedRange<Int>>)>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | let sorted = collectionResult.sorted { $0.diffScore < $1.diffScore }
109 | DispatchQueue.main.async {
110 | completion(sorted)
| |- warning: capture of 'completion' with non-sendable type '([FuzzySrchResult]) -> Void' (aka '(Array<(index: Int, diffScore: Double, results: Array<(value: String, diffScore: Double, ranges: Array<ClosedRange<Int>>)>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
111 | }
112 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:61:37: warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | self.searchQueue.async {
60 | for (index, item) in chunk.enumerated() {
61 | if let result = self.search(pattern, in: item) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:61:49: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | self.searchQueue.async {
60 | for (index, item) in chunk.enumerated() {
61 | if let result = self.search(pattern, in: item) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:63:25: warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
61 | if let result = self.search(pattern, in: item) {
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
| `- warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
64 | itemsLock.unlock()
65 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:75:17: warning: capture of 'completion' with non-sendable type '([SrchDetails]) -> Void' (aka '(Array<(index: Int, diffScore: Double, ranges: Array<ClosedRange<Int>>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | let sorted = items.sorted { $0.diffScore < $1.diffScore }
74 | DispatchQueue.main.async {
75 | completion(sorted)
| |- warning: capture of 'completion' with non-sendable type '([SrchDetails]) -> Void' (aka '(Array<(index: Int, diffScore: Double, ranges: Array<ClosedRange<Int>>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:110:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
108 | let sorted = collectionResult.sorted { $0.diffScore < $1.diffScore }
109 | DispatchQueue.main.async {
110 | completion(sorted)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:75:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
73 | let sorted = items.sorted { $0.diffScore < $1.diffScore }
74 | DispatchQueue.main.async {
75 | completion(sorted)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
76 | }
77 | }
[13/24] Compiling Ifrit Fuse+ArrStrings.swift
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:70:42: warning: capture of 'chunk' with non-sendable type 'ArraySlice<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | /// instructions how to use: https://github.com/ukushu/Ifrit/blob/main/Docs/FuseInstructions.md
51 | ///
52 | public func search<T>(_ text: String, in aList: [T],
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | by keyPath: KeyPath<T, [FuseProp]>,
54 | chunkSize: Int = 100,
:
68 |
69 | self.searchQueue.async {
70 | for (index, item) in chunk.enumerated() {
| `- warning: capture of 'chunk' with non-sendable type 'ArraySlice<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | var scores = [Double]()
72 | var totalScore = 0.0
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:76:39: warning: capture of 'keyPath' with non-sendable type 'KeyPath<T, [FuseProp]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | var propertyResults = [(value: String, diffScore: Double, ranges: [CountableClosedRange<Int>])]()
75 |
76 | item[keyPath: keyPath].forEach { property in
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<T, [FuseProp]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:45: warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:57: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:45: warning: capture of 'self' with non-sendable type 'Fuse' in an isolated closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in an isolated closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:79:57: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in an isolated closure; this is an error in the Swift 6 language mode
77 | let value = property.value
78 |
79 | if let result = self.search(pattern, in: value) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in an isolated closure; this is an error in the Swift 6 language mode
80 | let weight = property.weight == 1 ? 1 : 1 - property.weight
81 | let score = result.score * weight
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:95:25: warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
93 |
94 | resultLock.lock()
95 | collectionResult.append((
| `- warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
96 | index: chunkIndex * chunkSize + index,
97 | diffScore: totalScore / Double(scores.count),
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:110:17: warning: capture of 'completion' with non-sendable type '([FuzzySrchResult]) -> Void' (aka '(Array<(index: Int, diffScore: Double, results: Array<(value: String, diffScore: Double, ranges: Array<ClosedRange<Int>>)>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | let sorted = collectionResult.sorted { $0.diffScore < $1.diffScore }
109 | DispatchQueue.main.async {
110 | completion(sorted)
| |- warning: capture of 'completion' with non-sendable type '([FuzzySrchResult]) -> Void' (aka '(Array<(index: Int, diffScore: Double, results: Array<(value: String, diffScore: Double, ranges: Array<ClosedRange<Int>>)>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
111 | }
112 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:61:37: warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | self.searchQueue.async {
60 | for (index, item) in chunk.enumerated() {
61 | if let result = self.search(pattern, in: item) {
| `- warning: capture of 'self' with non-sendable type 'Fuse' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:5:14: note: class 'Fuse' does not conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public class Fuse {
| `- note: class 'Fuse' does not conform to the 'Sendable' protocol
6 | internal var location: Int
7 | internal var distance: Int
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:61:49: warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | self.searchQueue.async {
60 | for (index, item) in chunk.enumerated() {
61 | if let result = self.search(pattern, in: item) {
| `- warning: capture of 'pattern' with non-sendable type 'Fuse.Pattern?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse.swift:50:12: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
48 |
49 | public extension Fuse {
50 | struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
51 | let text: String
52 | var len: Int { text.count }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:63:25: warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
61 | if let result = self.search(pattern, in: item) {
62 | itemsLock.lock()
63 | items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
| `- warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
64 | itemsLock.unlock()
65 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:75:17: warning: capture of 'completion' with non-sendable type '([SrchDetails]) -> Void' (aka '(Array<(index: Int, diffScore: Double, ranges: Array<ClosedRange<Int>>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | let sorted = items.sorted { $0.diffScore < $1.diffScore }
74 | DispatchQueue.main.async {
75 | completion(sorted)
| |- warning: capture of 'completion' with non-sendable type '([SrchDetails]) -> Void' (aka '(Array<(index: Int, diffScore: Double, ranges: Array<ClosedRange<Int>>)>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrObjects.swift:110:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
108 | let sorted = collectionResult.sorted { $0.diffScore < $1.diffScore }
109 | DispatchQueue.main.async {
110 | completion(sorted)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
111 | }
112 | }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:75:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
73 | let sorted = items.sorted { $0.diffScore < $1.diffScore }
74 | DispatchQueue.main.async {
75 | completion(sorted)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
76 | }
77 | }
[14/24] Compiling Ifrit FuseProp.swift
[15/24] Compiling Ifrit FuseUtilities.swift
[16/24] Compiling Ifrit Fuse+String.swift
[17/24] Compiling Ifrit Fuse.swift
[18/24] Compiling Ifrit Levenstain.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
[19/24] Compiling Ifrit String+.swift
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:14:23: warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
12 | }
13 |
14 | public static let defaultMatch: Score = 16
| |- warning: static property 'defaultMatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public static let defaultMismatch: Score = 0
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:16:23: warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public struct Score: ExpressibleByIntegerLiteral {
| `- note: consider making struct 'Score' conform to the 'Sendable' protocol
8 | public let value: Int
9 |
:
14 | public static let defaultMatch: Score = 16
15 |
16 | public static let defaultMismatch: Score = 0
| |- warning: static property 'defaultMismatch' is not concurrency-safe because non-'Sendable' type 'Score' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public static var defaultBoundary: Score {
/host/spi-builder-workspace/Sources/Ifrit/Levenstain/FuzzyFind/Score.swift:26:23: warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var defaultFirstCharBonusMultiplier: Int = 2
| |- warning: static property 'defaultFirstCharBonusMultiplier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFirstCharBonusMultiplier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultFirstCharBonusMultiplier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | public static func defaultGapPenalty(_ n: Int) -> Score {
[20/25] Wrapping AST for Ifrit for debugging
[21/25] Write Objects.LinkFileList
[23/25] Archiving libIfritStatic.a
[24/25] Linking libIfrit.so
Build complete! (15.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Ifrit",
"name" : "Ifrit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Ifrit",
"targets" : [
"Ifrit"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "IfritStatic",
"targets" : [
"Ifrit"
],
"type" : {
"library" : [
"static"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "IfritTests",
"module_type" : "SwiftTarget",
"name" : "IfritTests",
"path" : "Tests",
"sources" : [
"Ifrit_Documentation/IfritDoxCode_Fuse_Test.swift",
"Ifrit_Documentation/IfritDoxCode_Leve_Test.swift",
"Ifrit_FuseTests/Fuse_TestsBasic.swift",
"Ifrit_FuseTests/Fuse_TestsPerformance.swift",
"Ifrit_FuseTests/Fuse_TestsTokenize.swift",
"Ifrit_FuseTests/TestData.swift",
"Ifrit_Levenstain/Levenstain_Tests.swift",
"Ifrit_Levenstain/Levenstain_TestsCore.swift"
],
"target_dependencies" : [
"Ifrit"
],
"type" : "test"
},
{
"c99name" : "Ifrit",
"module_type" : "SwiftTarget",
"name" : "Ifrit",
"path" : "Sources/Ifrit",
"product_memberships" : [
"Ifrit",
"IfritStatic"
],
"sources" : [
"Classes/Fuse+/Fuse+ArrObjects.swift",
"Classes/Fuse+/Fuse+ArrStrings.swift",
"Classes/Fuse+/Fuse+String.swift",
"Classes/Fuse.swift",
"Classes/FuseProp.swift",
"Classes/FuseUtilities.swift",
"Classes/Searchable.swift",
"Exts/Array+.swift",
"Exts/String+Fuse.swift",
"Levenstain/FuzzyFind/Alignment.swift",
"Levenstain/FuzzyFind/Fuzzy.swift",
"Levenstain/FuzzyFind/FuzzyResult.swift",
"Levenstain/FuzzyFind/FuzzyResultSegment.swift",
"Levenstain/FuzzyFind/Score.swift",
"Levenstain/Levenstain.swift",
"Levenstain/String+.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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
Done.