Build Information
Successful build of SearchAndSort, reference 3.3.0 (1205bb
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 21:55:25 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mohammad-nej/SearchAndSort.git
Reference: 3.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mohammad-nej/SearchAndSort
* tag 3.3.0 -> FETCH_HEAD
HEAD is now at 1205bb0 - addes support for nullable keys.
Cloned https://github.com/mohammad-nej/SearchAndSort.git
Revision (git rev-parse @):
1205bb07b90e31b6c70e1ebb8fb0d36df79a16f3
SUCCESS checkout https://github.com/mohammad-nej/SearchAndSort.git at 3.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mohammad-nej/SearchAndSort.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/5] Emitting module MyLogger
[5/5] Compiling MyLogger MyLogger.swift
[6/29] Emitting module SearchAndSort
[7/31] Compiling SearchAndSort PersianDoubleStringifier.swift
[8/31] Compiling SearchAndSort PersianIntStringifier.swift
[9/31] Compiling SearchAndSort AnySortabletTitledKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:22:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
20 | self.title = key.title
21 | self.sortFunc = { models, order in
22 | return await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:19:58: warning: capture of non-sendable type 'Key.Type' in an isolated closure
17 | public let title : String
18 |
19 | public init<Key : Comparable,Stringer:Stringifier>(_ key : TitledKey<Model,Key,Stringer>)where Stringer.Model == Key{
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
20 | self.title = key.title
21 | self.sortFunc = { models, order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:40:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
38 | let sortableKey = SortableKeyPath(keyPath)
39 | self.sortFunc = { models, order in
40 | return await sortableKey.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:38:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
36 | public init<Key : Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) {
37 | self.title = title
38 | let sortableKey = SortableKeyPath(keyPath)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
39 | self.sortFunc = { models, order in
40 | return await sortableKey.sort(models, order: order)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:46:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.title = title
45 | self.sortFunc = { models, order in
46 | return await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:43:35: warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | }
42 | }
43 | public init<Key:Comparable>(_ key : SortableKeyPath<Model,Key> , title : String) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.title = title
45 | self.sortFunc = { models, order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:28:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
26 |
27 | self.searchFunc = { models , query , strategy in
28 | await key.search(in: models, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
29 | }
30 | self.sortFunc = { models , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:31:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
29 | }
30 | self.sortFunc = { models , order in
31 | await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
32 | }
33 | self.stringifyFunc = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:34:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
32 | }
33 | self.stringifyFunc = { model in
34 | key.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:64:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
64 | await TitledKey.search(in: model, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.sortFunc = { model , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:67:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.sortFunc = { model , order in
67 | await TitledKey.sort( model, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:71:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
69 |
70 | self.stringifyFunc = { model in
71 | TitledKey.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:81:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
81 | await TitledKey.search(in: model, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
82 | }
83 | self.sortFunc = { model , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:84:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
82 | }
83 | self.sortFunc = { model , order in
84 | await TitledKey.sort( model, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:88:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
86 |
87 | self.stringifyFunc = { model in
88 | TitledKey.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
89 | }
90 | self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
[10/31] Compiling SearchAndSort AnyTitledKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:22:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
20 | self.title = key.title
21 | self.sortFunc = { models, order in
22 | return await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:19:58: warning: capture of non-sendable type 'Key.Type' in an isolated closure
17 | public let title : String
18 |
19 | public init<Key : Comparable,Stringer:Stringifier>(_ key : TitledKey<Model,Key,Stringer>)where Stringer.Model == Key{
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
20 | self.title = key.title
21 | self.sortFunc = { models, order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:40:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
38 | let sortableKey = SortableKeyPath(keyPath)
39 | self.sortFunc = { models, order in
40 | return await sortableKey.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:38:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
36 | public init<Key : Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) {
37 | self.title = title
38 | let sortableKey = SortableKeyPath(keyPath)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
39 | self.sortFunc = { models, order in
40 | return await sortableKey.sort(models, order: order)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:46:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.title = title
45 | self.sortFunc = { models, order in
46 | return await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortabletTitledKey.swift:43:35: warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | }
42 | }
43 | public init<Key:Comparable>(_ key : SortableKeyPath<Model,Key> , title : String) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.title = title
45 | self.sortFunc = { models, order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:28:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
26 |
27 | self.searchFunc = { models , query , strategy in
28 | await key.search(in: models, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
29 | }
30 | self.sortFunc = { models , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:31:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
29 | }
30 | self.sortFunc = { models , order in
31 | await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
32 | }
33 | self.stringifyFunc = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:34:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
32 | }
33 | self.stringifyFunc = { model in
34 | key.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:23:59: warning: capture of non-sendable type 'Key.Type' in an isolated closure
21 | }
22 |
23 | public init<Key: Comparable,Stringered:Stringifier>(_ key : TitledKey<Model,Key,Stringered>) {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
24 |
25 | self.title = key.title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:64:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
64 | await TitledKey.search(in: model, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.sortFunc = { model , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:67:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.sortFunc = { model , order in
67 | await TitledKey.sort( model, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:71:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
69 |
70 | self.stringifyFunc = { model in
71 | TitledKey.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
72 | }
73 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:61:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
59 | init<Key:Comparable,Stringered:Stringifier>(_ keyPath : KeyPath<Model,Key> , title : String , stringifier : Stringered) where Stringered.Model == Key {
60 |
61 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 | self.searchFunc = { model , query , strategy in
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:81:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
81 | await TitledKey.search(in: model, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
82 | }
83 | self.sortFunc = { model , order in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:84:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
82 | }
83 | self.sortFunc = { model , order in
84 | await TitledKey.sort( model, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:88:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
86 |
87 | self.stringifyFunc = { model in
88 | TitledKey.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
89 | }
90 | self.title = title
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyTitledKey.swift:78:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | init<Key:Comparable>(_ keyPath : KeyPath<Model,Key>,title:String) where Key:CustomStringConvertible {
77 | let stringifier = StringConvertableStringifier<Key>()
78 | let TitledKey = TitledKey(title: title, key: keyPath, stringer: stringifier)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 | self.searchFunc = { model , query , strategy in
80 |
[11/31] Compiling SearchAndSort KeyPath.swift
[12/31] Compiling SearchAndSort Logger.swift
[13/31] Compiling SearchAndSort Optional Extension.swift
[14/31] Compiling SearchAndSort StringConvertableStringifier.swift
[15/31] Compiling SearchAndSort TitledKey.swift
[16/31] Compiling SearchAndSort SortableKeyPath.swift
[17/31] Compiling SearchAndSort Sorter.swift
[18/31] Compiling SearchAndSort PersianDateStringifier.swift
[19/31] Compiling SearchAndSort AnySearchableTitledKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:64:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 |
63 |
64 | return await searchable.search(in: array, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:60:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | let stringer = StringConvertableStringifier<Key>()
60 | let searchable = SearchableKeyPath(key, stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | self.searcherFunc = { array,query,strategy in
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:67:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.stringProducer = { model in
67 | searchable.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:60:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | let stringer = StringConvertableStringifier<Key>()
60 | let searchable = SearchableKeyPath(key, stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | self.searcherFunc = { array,query,strategy in
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:44:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | self.closure = { models, order in
43 |
44 | await item.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:41:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
39 |
40 | public extension AnySortableKey {
41 | init<Key:Comparable , Stringer>(_ item : TitledKey<Model, Key, Stringer>){
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | self.closure = { models, order in
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:51:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
49 | let key = SortableKeyPath(key)
50 | self.closure = { models, order in
51 | await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:49:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | init<Key: Comparable>(_ key : KeyPath<Model , Key>){
48 |
49 | let key = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 | self.closure = { models, order in
51 | await key.sort(models, order: order)
[20/31] Compiling SearchAndSort AnySortableKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:64:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
62 |
63 |
64 | return await searchable.search(in: array, for: query, strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:60:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | let stringer = StringConvertableStringifier<Key>()
60 | let searchable = SearchableKeyPath(key, stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | self.searcherFunc = { array,query,strategy in
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:67:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
65 | }
66 | self.stringProducer = { model in
67 | searchable.stringify(model)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableTitledKey.swift:60:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | let stringer = StringConvertableStringifier<Key>()
60 | let searchable = SearchableKeyPath(key, stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
61 | self.searcherFunc = { array,query,strategy in
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:44:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | self.closure = { models, order in
43 |
44 | await item.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:41:39: warning: capture of non-sendable type 'Key.Type' in an isolated closure
39 |
40 | public extension AnySortableKey {
41 | init<Key:Comparable , Stringer>(_ item : TitledKey<Model, Key, Stringer>){
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | self.closure = { models, order in
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:51:19: warning: capture of non-sendable type 'Key.Type' in an isolated closure
49 | let key = SortableKeyPath(key)
50 | self.closure = { models, order in
51 | await key.sort(models, order: order)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySortableKey.swift:49:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | init<Key: Comparable>(_ key : KeyPath<Model , Key>){
48 |
49 | let key = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 | self.closure = { models, order in
51 | await key.sort(models, order: order)
[21/31] Compiling SearchAndSort AnyKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:49:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | let stringer = StringConvertableStringifier<Key>()
48 | self.stringProducer = { model in
49 | return stringer.stringify(model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:47:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
47 | let stringer = StringConvertableStringifier<Key>()
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
48 | self.stringProducer = { model in
49 | return stringer.stringify(model[keyPath: key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:53:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
51 |
52 | sorterProducer = { models , order in
53 | let sortKey = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
54 | return await sortKey.sort(models , order: order)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:44:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | }
43 | public extension AnyKey {
44 | init<Key : CustomStringConvertible>(_ key : KeyPath<Root,Key>) where Key : Comparable {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:57:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
55 | }
56 | searchProducer = { models , query,strategy in
57 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:44:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | }
43 | public extension AnyKey {
44 | init<Key : CustomStringConvertible>(_ key : KeyPath<Root,Key>) where Key : Comparable {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:70:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 |
69 | self.stringProducer = { model in
70 | return stringer.stringify(model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:74:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
72 |
73 | sorterProducer = { models , order in
74 | let sortKey = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
75 | return await sortKey.sort(models , order: order)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:78:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | }
77 | searchProducer = { models , query,strategy in
78 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 |
80 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:93:29: warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
91 | let stringer = key.stringer
92 | self.stringProducer = { model in
93 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:97:27: warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
95 |
96 | sorterProducer = { models , order in
97 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
98 | return await sortKey.sort(models , order: order)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:115:29: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
113 |
114 | self.stringProducer = { model in
115 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:119:27: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
117 |
118 | sorterProducer = { models , order in
119 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
120 | return await sortKey.sort(models , order: order)
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:123:23: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
121 | }
122 | searchProducer = { models , query,strategy in
123 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
124 |
125 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:141:29: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
139 | let stringer = StringConvertableStringifier<SortKey>()
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:139:13: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
137 | public extension AnyKey {
138 | init<SortKey : Comparable, Sortable : SortableKeyPathProtocol>(_ key : Sortable) where SortKey: CustomStringConvertible , Sortable.Model == Root , Sortable.Key == SortKey {
139 | let stringer = StringConvertableStringifier<SortKey>()
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:145:27: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
143 |
144 | sorterProducer = { models , order in
145 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
146 | return await sortKey.sort(models , order: order)
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:149:23: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
147 | }
148 | searchProducer = { models , query,strategy in
149 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
150 |
151 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:139:13: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
137 | public extension AnyKey {
138 | init<SortKey : Comparable, Sortable : SortableKeyPathProtocol>(_ key : Sortable) where SortKey: CustomStringConvertible , Sortable.Model == Root , Sortable.Key == SortKey {
139 | let stringer = StringConvertableStringifier<SortKey>()
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:168:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
168 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
169 | }
170 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:172:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
170 |
171 | sorterProducer = { models , order in
172 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
173 | return await sortKey.sort(models , order: order)
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:179:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
177 | //let key = SearchableKeyPath( key , stringifier: stringer)
178 |
179 | return await key.search(in: models, for: query,strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
180 |
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:45:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
43 | let stringer = StringConvertableStringifier<Key>()
44 | self.stringProducer = { model in
45 | return stringer.stringify( model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:43:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | public extension AnySearchableKey {
42 | init<Key:CustomStringConvertible> (_ key : KeyPath<Root, Key>){
43 | let stringer = StringConvertableStringifier<Key>()
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.stringProducer = { model in
45 | return stringer.stringify( model[keyPath: key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:49:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 |
48 | searchProducer = { models , query,strategy in
49 | let key = SearchableKeyPath(key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 |
51 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:42:42: warning: capture of non-sendable type 'Key.Type' in an isolated closure
40 |
41 | public extension AnySearchableKey {
42 | init<Key:CustomStringConvertible> (_ key : KeyPath<Root, Key>){
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
43 | let stringer = StringConvertableStringifier<Key>()
44 | self.stringProducer = { model in
[22/31] Compiling SearchAndSort AnySearchableKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:49:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 | let stringer = StringConvertableStringifier<Key>()
48 | self.stringProducer = { model in
49 | return stringer.stringify(model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:47:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
47 | let stringer = StringConvertableStringifier<Key>()
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
48 | self.stringProducer = { model in
49 | return stringer.stringify(model[keyPath: key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:53:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
51 |
52 | sorterProducer = { models , order in
53 | let sortKey = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
54 | return await sortKey.sort(models , order: order)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:44:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | }
43 | public extension AnyKey {
44 | init<Key : CustomStringConvertible>(_ key : KeyPath<Root,Key>) where Key : Comparable {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:57:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
55 | }
56 | searchProducer = { models , query,strategy in
57 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
58 |
59 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:44:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
42 | }
43 | public extension AnyKey {
44 | init<Key : CustomStringConvertible>(_ key : KeyPath<Root,Key>) where Key : Comparable {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
45 |
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:70:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
68 |
69 | self.stringProducer = { model in
70 | return stringer.stringify(model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:74:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
72 |
73 | sorterProducer = { models , order in
74 | let sortKey = SortableKeyPath(key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
75 | return await sortKey.sort(models , order: order)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:78:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
76 | }
77 | searchProducer = { models , query,strategy in
78 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
79 |
80 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:65:67: warning: capture of non-sendable type 'Key.Type' in an isolated closure
63 |
64 | }
65 | init<Key : CustomStringConvertible, Stringer : Stringifier>(_ key : KeyPath<Root,Key>, stringer : Stringer) where Key : Comparable ,Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
66 |
67 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:93:29: warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
91 | let stringer = key.stringer
92 | self.stringProducer = { model in
93 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:97:27: warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
95 |
96 | sorterProducer = { models , order in
97 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SearchKey.Type' in an isolated closure
98 | return await sortKey.sort(models , order: order)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:115:29: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
113 |
114 | self.stringProducer = { model in
115 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:119:27: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
117 |
118 | sorterProducer = { models , order in
119 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
120 | return await sortKey.sort(models , order: order)
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:123:23: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
121 | }
122 | searchProducer = { models , query,strategy in
123 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
124 |
125 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:141:29: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
139 | let stringer = StringConvertableStringifier<SortKey>()
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:139:13: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
137 | public extension AnyKey {
138 | init<SortKey : Comparable, Sortable : SortableKeyPathProtocol>(_ key : Sortable) where SortKey: CustomStringConvertible , Sortable.Model == Root , Sortable.Key == SortKey {
139 | let stringer = StringConvertableStringifier<SortKey>()
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:145:27: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
143 |
144 | sorterProducer = { models , order in
145 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
146 | return await sortKey.sort(models , order: order)
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:149:23: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
147 | }
148 | searchProducer = { models , query,strategy in
149 | let key = SearchableKeyPath( key , stringifier: stringer)
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
150 |
151 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:139:13: warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
137 | public extension AnyKey {
138 | init<SortKey : Comparable, Sortable : SortableKeyPathProtocol>(_ key : Sortable) where SortKey: CustomStringConvertible , Sortable.Model == Root , Sortable.Key == SortKey {
139 | let stringer = StringConvertableStringifier<SortKey>()
| `- warning: capture of non-sendable type 'SortKey.Type' in an isolated closure
140 | self.stringProducer = { model in
141 | return stringer.stringify(model[keyPath: key.key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:168:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
168 | return stringer.stringify(model[keyPath: key.key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
169 | }
170 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:172:27: warning: capture of non-sendable type 'Key.Type' in an isolated closure
170 |
171 | sorterProducer = { models , order in
172 | let sortKey = SortableKeyPath(key.key)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
173 | return await sortKey.sort(models , order: order)
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:179:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure
177 | //let key = SearchableKeyPath( key , stringifier: stringer)
178 |
179 | return await key.search(in: models, for: query,strategy: strategy)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
180 |
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnyKey.swift:165:43: warning: capture of non-sendable type 'Key.Type' in an isolated closure
163 | public extension AnyKey {
164 | ///Initiates a key from a TitledKey
165 | init <Key, Stringer : Stringifier> (_ key : TitledKey<Root,Key,Stringer>) where Key : Comparable , Stringer.Model == Key {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
166 | let stringer = key.stringer
167 | self.stringProducer = { model in
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:45:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure
43 | let stringer = StringConvertableStringifier<Key>()
44 | self.stringProducer = { model in
45 | return stringer.stringify( model[keyPath: key])
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:43:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure
41 | public extension AnySearchableKey {
42 | init<Key:CustomStringConvertible> (_ key : KeyPath<Root, Key>){
43 | let stringer = StringConvertableStringifier<Key>()
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
44 | self.stringProducer = { model in
45 | return stringer.stringify( model[keyPath: key])
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:49:23: warning: capture of non-sendable type 'Key.Type' in an isolated closure
47 |
48 | searchProducer = { models , query,strategy in
49 | let key = SearchableKeyPath(key , stringifier: stringer)
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
50 |
51 | return await key.search(in: models, for: query,strategy: strategy)
/Users/admin/builder/spi-builder-workspace/Sources/SearchAndSort/Type Erasure/AnySearchableKey.swift:42:42: warning: capture of non-sendable type 'Key.Type' in an isolated closure
40 |
41 | public extension AnySearchableKey {
42 | init<Key:CustomStringConvertible> (_ key : KeyPath<Root, Key>){
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure
43 | let stringer = StringConvertableStringifier<Key>()
44 | self.stringProducer = { model in
[23/31] Compiling SearchAndSort SearchableKeyPath.swift
[24/31] Compiling SearchAndSort SearchAndSort.swift
[25/31] Compiling SearchAndSort SortOrder.swift
[26/31] Compiling SearchAndSort Searchable.swift
[27/31] Compiling SearchAndSort SearchableKeyProtocol.swift
[28/31] Compiling SearchAndSort SortableKeyPathProtocol.swift
[29/31] Compiling SearchAndSort Stringifier.swift
[30/31] Compiling SearchAndSort ValuePresentable.swift
[31/31] Compiling SearchAndSort BackgroundSearcher.swift
Build complete! (7.81s)
Fetching https://github.com/mohammad-nej/MyLogger
[1/35] Fetching mylogger
Fetched https://github.com/mohammad-nej/MyLogger from cache (0.55s)
Computing version for https://github.com/mohammad-nej/MyLogger
Computed https://github.com/mohammad-nej/MyLogger at 1.0.3 (1.01s)
Creating working copy for https://github.com/mohammad-nej/MyLogger
Working copy of https://github.com/mohammad-nej/MyLogger resolved at 1.0.3
Build complete.
{
"dependencies" : [
{
"identity" : "mylogger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mohammad-nej/MyLogger"
}
],
"manifest_display_name" : "SearchAndSort",
"name" : "SearchAndSort",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SearchAndSort",
"targets" : [
"SearchAndSort"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SearchAndSortTests",
"module_type" : "SwiftTarget",
"name" : "SearchAndSortTests",
"path" : "Tests/SearchAndSortTests",
"sources" : [
"SearchAndSortTests.swift"
],
"target_dependencies" : [
"SearchAndSort"
],
"type" : "test"
},
{
"c99name" : "SearchAndSort",
"module_type" : "SwiftTarget",
"name" : "SearchAndSort",
"path" : "Sources/SearchAndSort",
"product_dependencies" : [
"MyLogger"
],
"product_memberships" : [
"SearchAndSort"
],
"sources" : [
"Extensions/KeyPath.swift",
"Logger.swift",
"Protocols/Optional Extension.swift",
"Protocols/Searchable.swift",
"Protocols/SearchableKeyProtocol.swift",
"Protocols/SortableKeyPathProtocol.swift",
"Protocols/Stringifier.swift",
"Protocols/ValuePresentable.swift",
"Search/BackgroundSearcher.swift",
"Search/SearchableKeyPath.swift",
"SearchAndSort.swift",
"Sort/SortOrder.swift",
"Sort/SortableKeyPath.swift",
"Sort/Sorter.swift",
"Stringifirers/Persian/PersianDateStringifier.swift",
"Stringifirers/Persian/PersianDoubleStringifier.swift",
"Stringifirers/Persian/PersianIntStringifier.swift",
"Stringifirers/StringConvertableStringifier.swift",
"TitledKey.swift",
"Type Erasure/AnyKey.swift",
"Type Erasure/AnySearchableKey.swift",
"Type Erasure/AnySearchableTitledKey.swift",
"Type Erasure/AnySortableKey.swift",
"Type Erasure/AnySortabletTitledKey.swift",
"Type Erasure/AnyTitledKey.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.