The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of MuslimData, reference main (0bdaa0), with Swift 6.0 for Linux on 5 Nov 2024 06:27:01 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/kosratdev/muslim-data-ios.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/kosratdev/muslim-data-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0bdaa05 Merge branch 'main' of github.com:KosratDAhmad/MuslimData
Cloned https://github.com/kosratdev/muslim-data-ios.git
Revision (git rev-parse @):
0bdaa05fcdccd022c89bf7a6951a9b6aba42787f
SUCCESS checkout https://github.com/kosratdev/muslim-data-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kosratdev/muslim-data-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/groue/GRDB.swift.git
[1/109896] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (11.70s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.26.0 (1.78s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 6.26.0
Building for debugging...
[0/7] Write sources
[0/7] Copying CHANGELOG.md
[1/7] Copying PrivacyInfo.xcprivacy
[1/7] Copying Info.plist
[4/7] Write sources
[5/7] Copying muslim_db_v2.1.0.db
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/153] Compiling GRDB Configuration.swift
[9/153] Compiling GRDB Cursor.swift
[10/153] Compiling GRDB Database+Schema.swift
[11/153] Compiling GRDB Database+Statements.swift
[12/153] Compiling GRDB Database.swift
[13/153] Compiling GRDB DatabaseBackupProgress.swift
[14/153] Compiling GRDB DatabaseCollation.swift
[15/153] Compiling GRDB DatabaseError.swift
[16/153] Compiling GRDB DatabaseFunction.swift
[17/153] Compiling GRDB DatabasePool.swift
[18/153] Compiling GRDB DatabasePublishers.swift
[19/153] Compiling GRDB DatabaseQueue.swift
[20/153] Compiling GRDB DatabaseReader.swift
[21/153] Compiling GRDB DatabaseRegion.swift
[22/153] Compiling GRDB DatabaseRegionObservation.swift
[23/153] Compiling GRDB DatabaseSchemaCache.swift
[24/153] Compiling GRDB DatabaseSnapshot.swift
[25/153] Compiling GRDB DatabaseSnapshotPool.swift
[26/153] Compiling GRDB DatabaseValue.swift
[27/153] Compiling GRDB DatabaseValueConvertible.swift
[28/153] Compiling GRDB DatabaseWriter.swift
[29/173] Emitting module GRDB
[30/173] Compiling GRDB QuoteDumpFormat.swift
[31/173] Compiling GRDB Export.swift
[32/173] Compiling GRDB FTS3.swift
[33/173] Compiling GRDB FTS3Pattern.swift
[34/173] Compiling GRDB FTS3TokenizerDescriptor.swift
[35/173] Compiling GRDB FTS4.swift
[36/173] Compiling GRDB FTS5.swift
[37/173] Compiling GRDB FTS5CustomTokenizer.swift
[38/173] Compiling GRDB FTS5Pattern.swift
[39/173] Compiling GRDB FTS5Tokenizer.swift
[40/173] Compiling GRDB FTS5TokenizerDescriptor.swift
[41/173] Compiling GRDB FTS5WrapperTokenizer.swift
[42/173] Compiling GRDB Fixits.swift
[43/173] Compiling GRDB JSONColumn.swift
[44/173] Compiling GRDB SQLJSONExpressible.swift
[45/173] Compiling GRDB SQLJSONFunctions.swift
[46/173] Compiling GRDB DatabaseMigrator.swift
[47/173] Compiling GRDB Migration.swift
[48/173] Compiling GRDB FTS3+QueryInterface.swift
[49/173] Compiling GRDB FTS5+QueryInterface.swift
[50/173] Compiling GRDB ForeignKey.swift
[51/173] Compiling GRDB FetchRequest.swift
[52/173] Compiling GRDB Row.swift
[53/173] Compiling GRDB RowAdapter.swift
[54/173] Compiling GRDB RowDecodingError.swift
[55/173] Compiling GRDB SQL.swift
[56/173] Compiling GRDB SQLInterpolation.swift
[57/173] Compiling GRDB SQLRequest.swift
[58/173] Compiling GRDB SchedulingWatchdog.swift
[59/173] Compiling GRDB SerializedDatabase.swift
[60/173] Compiling GRDB Statement.swift
[61/173] Compiling GRDB StatementAuthorizer.swift
[62/173] Compiling GRDB StatementColumnConvertible.swift
[63/173] Compiling GRDB CGFloat.swift
[64/173] Compiling GRDB Data.swift
[65/173] Compiling GRDB DatabaseDateComponents.swift
[66/173] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[67/173] Compiling GRDB Date.swift
[68/173] Compiling GRDB Decimal.swift
[69/173] Compiling GRDB NSData.swift
[70/173] Compiling GRDB NSNull.swift
[71/173] Compiling GRDB NSNumber.swift
[72/173] Compiling GRDB SQLSelection.swift
[73/173] Compiling GRDB SQLSubquery.swift
[74/173] Compiling GRDB Table.swift
[75/173] Compiling GRDB SQLColumnGenerator.swift
[76/173] Compiling GRDB SQLGenerationContext.swift
[77/173] Compiling GRDB SQLIndexGenerator.swift
[78/173] Compiling GRDB SQLQueryGenerator.swift
[79/173] Compiling GRDB SQLTableAlterationGenerator.swift
[80/173] Compiling GRDB SQLTableGenerator.swift
[81/173] Compiling GRDB SQLInterpolation+QueryInterface.swift
[82/173] Compiling GRDB ColumnDefinition.swift
[83/173] Compiling GRDB Database+SchemaDefinition.swift
[84/173] Compiling GRDB ForeignKeyDefinition.swift
[85/173] Compiling GRDB IndexDefinition.swift
[86/173] Compiling GRDB TableAlteration.swift
[87/173] Compiling GRDB TableDefinition.swift
[88/173] Compiling GRDB VirtualTableModule.swift
[89/173] Compiling GRDB TableRecord+Association.swift
[90/173] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[91/173] Compiling GRDB EncodableRecord+Encodable.swift
[92/173] Compiling GRDB EncodableRecord.swift
[93/173] Compiling GRDB FetchableRecord+Decodable.swift
[94/173] Compiling GRDB FetchableRecord+TableRecord.swift
[95/173] Compiling GRDB FetchableRecord.swift
[96/173] Compiling GRDB MutablePersistableRecord+DAO.swift
[97/173] Compiling GRDB MutablePersistableRecord+Delete.swift
[98/173] Compiling GRDB MutablePersistableRecord+Insert.swift
[99/173] Compiling GRDB MutablePersistableRecord+Save.swift
[100/173] Compiling GRDB MutablePersistableRecord+Update.swift
[101/173] Compiling GRDB MutablePersistableRecord+Upsert.swift
[102/173] Compiling GRDB MutablePersistableRecord.swift
[103/173] Compiling GRDB PersistableRecord+Insert.swift
[104/173] Compiling GRDB PersistableRecord+Save.swift
[105/173] Compiling GRDB PersistableRecord+Upsert.swift
[106/173] Compiling GRDB PersistableRecord.swift
[107/173] Compiling GRDB Record.swift
[108/173] Compiling GRDB TableRecord.swift
[109/173] Compiling GRDB CaseInsensitiveIdentifier.swift
[110/173] Compiling GRDB Inflections+English.swift
[111/173] Compiling GRDB Inflections.swift
[112/173] Compiling GRDB Association.swift
[113/173] Compiling GRDB AssociationAggregate.swift
[114/173] Compiling GRDB BelongsToAssociation.swift
[115/173] Compiling GRDB HasManyAssociation.swift
[116/173] Compiling GRDB HasManyThroughAssociation.swift
[117/173] Compiling GRDB HasOneAssociation.swift
[118/173] Compiling GRDB HasOneThroughAssociation.swift
[119/173] Compiling GRDB JoinAssociation.swift
[120/173] Compiling GRDB CommonTableExpression.swift
[121/173] Compiling GRDB QueryInterfaceRequest.swift
[122/173] Compiling GRDB RequestProtocols.swift
[123/173] Compiling GRDB Column.swift
[124/173] Compiling GRDB DatabasePromise.swift
[125/173] Compiling GRDB SQLAssociation.swift
[126/173] Compiling GRDB SQLCollection.swift
[127/173] Compiling GRDB SQLExpression.swift
[128/173] Compiling GRDB SQLForeignKeyRequest.swift
[129/173] Compiling GRDB SQLFunctions.swift
[130/173] Compiling GRDB SQLOperators.swift
[131/173] Compiling GRDB SQLOrdering.swift
[132/173] Compiling GRDB SQLRelation.swift
[133/173] Compiling GRDB NSString.swift
[134/173] Compiling GRDB SQLiteDateParser.swift
[135/173] Compiling GRDB URL.swift
[136/173] Compiling GRDB UUID.swift
[137/173] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[138/173] Compiling GRDB DatabaseValueConvertible+Encodable.swift
[139/173] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[140/173] Compiling GRDB JSONRequiredEncoder.swift
[141/173] Compiling GRDB Optional.swift
[142/173] Compiling GRDB StandardLibrary.swift
[143/173] Compiling GRDB TransactionClock.swift
[144/173] Compiling GRDB TransactionObserver.swift
[145/173] Compiling GRDB WALSnapshot.swift
[146/173] Compiling GRDB WALSnapshotTransaction.swift
[147/173] Compiling GRDB Database+Dump.swift
[148/173] Compiling GRDB DatabaseReader+dump.swift
[149/173] Compiling GRDB DumpFormat.swift
[150/173] Compiling GRDB DebugDumpFormat.swift
[151/173] Compiling GRDB JSONDumpFormat.swift
[152/173] Compiling GRDB LineDumpFormat.swift
[153/173] Compiling GRDB ListDumpFormat.swift
[154/173] Compiling GRDB LockedBox.swift
[155/173] Compiling GRDB OnDemandFuture.swift
[156/173] Compiling GRDB OrderedDictionary.swift
[157/173] Compiling GRDB Pool.swift
[158/173] Compiling GRDB ReadWriteBox.swift
[159/173] Compiling GRDB ReceiveValuesOn.swift
[160/173] Compiling GRDB Refinable.swift
[161/173] Compiling GRDB Utils.swift
[162/173] Compiling GRDB DatabaseCancellable.swift
[163/173] Compiling GRDB ValueConcurrentObserver.swift
[164/173] Compiling GRDB ValueWriteOnlyObserver.swift
[165/173] Compiling GRDB Fetch.swift
[166/173] Compiling GRDB Map.swift
[167/173] Compiling GRDB RemoveDuplicates.swift
[168/173] Compiling GRDB Trace.swift
[169/173] Compiling GRDB ValueReducer.swift
[170/173] Compiling GRDB SharedValueObservation.swift
[171/173] Compiling GRDB ValueObservation.swift
[172/173] Compiling GRDB ValueObservationScheduler.swift
[173/173] Compiling GRDB resource_bundle_accessor.swift
[175/190] Compiling MuslimData Language.swift
[176/190] Compiling MuslimData Location.swift
[177/192] Emitting module MuslimData
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
[178/192] Compiling MuslimData Repository.swift
[179/192] Compiling MuslimData resource_bundle_accessor.swift
[180/192] Compiling MuslimData StringExtensions.swift
[181/192] Compiling MuslimData AzkarCategory.swift
[182/192] Compiling MuslimData PrayerAttribute.swift
[183/192] Compiling MuslimData PrayerTime.swift
[184/192] Compiling MuslimData AzkarChapter.swift
[185/192] Compiling MuslimData AzkarItem.swift
[186/192] Compiling MuslimData TimeFormat.swift
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
[187/192] Compiling MuslimData MuslimRepository.swift
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
[188/192] Compiling MuslimData Name.swift
[189/192] Compiling MuslimData Prayer.swift
[190/192] Compiling MuslimData DBHelper.swift
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:40: warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                        `- warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:70: warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                                                      `- warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:96:109: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |                 SELECT name.name, transl.name AS translated
 95 |                 FROM name
 96 |                 INNER JOIN name_translation AS transl ON transl.name_id = name._id AND transl.language = '\(language)'
    |                                                                                                             `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |                 """)
 98 |                 return names
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:118:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                 FROM azkar_category AS category
117 |                 INNER JOIN azkar_category_translation AS transl ON transl.category_id = category._id
118 |                 AND language = '\(language)'
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                 """)
120 |                 return categories
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:143:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 FROM azkar_chapter AS chapter
142 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
143 |                 AND language = '\(language)' \(category)
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                 """)
145 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:166:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |                 FROM azkar_chapter AS chapter
165 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
166 |                 AND language = '\(language)' AND chapter._id IN (\(chapterIds.minimalDescription))
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |                 """)
168 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:189:42: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                 FROM azkar_item AS item
188 |                 INNER JOIN azkar_item_translation AS transl ON transl.item_id = item._id
189 |                 AND transl.language = '\(language)' AND item.chapter_id = \(chapterId)
    |                                          `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                 INNER JOIN azkar_reference AS ref ON ref.item_id = item._id
191 |                 INNER JOIN azkar_reference_translation AS ref_transl ON ref_transl.reference_id = ref._id
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
[191/192] Compiling MuslimData DateExtensions.swift
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:40: warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                        `- warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:70: warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                                                      `- warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:96:109: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |                 SELECT name.name, transl.name AS translated
 95 |                 FROM name
 96 |                 INNER JOIN name_translation AS transl ON transl.name_id = name._id AND transl.language = '\(language)'
    |                                                                                                             `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |                 """)
 98 |                 return names
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:118:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                 FROM azkar_category AS category
117 |                 INNER JOIN azkar_category_translation AS transl ON transl.category_id = category._id
118 |                 AND language = '\(language)'
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                 """)
120 |                 return categories
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:143:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 FROM azkar_chapter AS chapter
142 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
143 |                 AND language = '\(language)' \(category)
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                 """)
145 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:166:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |                 FROM azkar_chapter AS chapter
165 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
166 |                 AND language = '\(language)' AND chapter._id IN (\(chapterIds.minimalDescription))
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |                 """)
168 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:189:42: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                 FROM azkar_item AS item
188 |                 INNER JOIN azkar_item_translation AS transl ON transl.item_id = item._id
189 |                 AND transl.language = '\(language)' AND item.chapter_id = \(chapterId)
    |                                          `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                 INNER JOIN azkar_reference AS ref ON ref.item_id = item._id
191 |                 INNER JOIN azkar_reference_translation AS ref_transl ON ref_transl.reference_id = ref._id
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
[192/192] Compiling MuslimData SequenceExtensions.swift
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:16:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | class DBHelper {
    |       `- note: class 'DBHelper' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Properties
 13 |
 14 |     private let dbName = "muslim_db_v2.1.0"
 15 |     var dbPool: DatabasePool?
 16 |     static let shared = DBHelper()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DBHelper' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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 |     var dbPath: String {
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:40: warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                        `- warning: capture of 'location' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:50:70: warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 48 |                 let result = try Row.fetchOne(dbConnect, sql: """
 49 |                 SELECT * FROM prayer_time
 50 |                 WHERE location_id = '\(location.prayerDependentId ?? location.id)'
    |                                                                      `- warning: implicit capture of 'location' requires that 'Location' conforms to `Sendable`; this is an error in the Swift 6 language mode
 51 |                 AND date = '\(date.toDBDate())'
 52 |                 """)
/host/spi-builder-workspace/Sources/MuslimData/Models/Location/Location.swift:12:15: note: consider making struct 'Location' conform to the 'Sendable' protocol
10 |
11 | /// Location model that holds a location information.
12 | public struct Location: FetchableRecord {
   |               `- note: consider making struct 'Location' conform to the 'Sendable' protocol
13 |     public let id: Int
14 |     public let name: String
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:96:109: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |                 SELECT name.name, transl.name AS translated
 95 |                 FROM name
 96 |                 INNER JOIN name_translation AS transl ON transl.name_id = name._id AND transl.language = '\(language)'
    |                                                                                                             `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |                 """)
 98 |                 return names
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:118:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                 FROM azkar_category AS category
117 |                 INNER JOIN azkar_category_translation AS transl ON transl.category_id = category._id
118 |                 AND language = '\(language)'
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                 """)
120 |                 return categories
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:143:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 FROM azkar_chapter AS chapter
142 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
143 |                 AND language = '\(language)' \(category)
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                 """)
145 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:166:35: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |                 FROM azkar_chapter AS chapter
165 |                 INNER JOIN azkar_chapter_translation AS transl ON transl.chapter_id = chapter._id
166 |                 AND language = '\(language)' AND chapter._id IN (\(chapterIds.minimalDescription))
    |                                   `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
167 |                 """)
168 |                 return chapters
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
/host/spi-builder-workspace/Sources/MuslimData/DB Helper/DBHelper.swift:189:42: warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                 FROM azkar_item AS item
188 |                 INNER JOIN azkar_item_translation AS transl ON transl.item_id = item._id
189 |                 AND transl.language = '\(language)' AND item.chapter_id = \(chapterId)
    |                                          `- warning: capture of 'language' with non-sendable type 'Language' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                 INNER JOIN azkar_reference AS ref ON ref.item_id = item._id
191 |                 INNER JOIN azkar_reference_translation AS ref_transl ON ref_transl.reference_id = ref._id
/host/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:17:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
15 | /// - fa: Farsi
16 | /// - ru: Russian
17 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
18 |     case en
19 |     case ar
Build complete! (37.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "exact" : [
          "6.26.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    }
  ],
  "manifest_display_name" : "MuslimData",
  "name" : "MuslimData",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "MuslimData",
      "targets" : [
        "MuslimData"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MuslimDataTests",
      "module_type" : "SwiftTarget",
      "name" : "MuslimDataTests",
      "path" : "Tests/MuslimDataTests",
      "sources" : [
        "AzkarTests/AzkarCategoryTests.swift",
        "AzkarTests/AzkarChapterTests.swift",
        "AzkarTests/AzkarItemTests.swift",
        "LocationTests/LocationTests.swift",
        "NamesTests/NamesTests.swift",
        "PrayerTests/DateFormatTests.swift",
        "PrayerTests/PrayerTests.swift",
        "PrayerTests/PrayerTimesTests.swift",
        "Utils/TestUtils.swift"
      ],
      "target_dependencies" : [
        "MuslimData"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MuslimData",
      "module_type" : "SwiftTarget",
      "name" : "MuslimData",
      "path" : "Sources/MuslimData",
      "product_dependencies" : [
        "GRDB"
      ],
      "product_memberships" : [
        "MuslimData"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/MuslimData/Resources/CHANGELOG.md",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MuslimData/Resources/muslim_db_v2.1.0.db",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DB Helper/DBHelper.swift",
        "Extensions/DateExtensions.swift",
        "Extensions/SequenceExtensions.swift",
        "Extensions/StringExtensions.swift",
        "Models/Azkars/AzkarCategory.swift",
        "Models/Azkars/AzkarChapter.swift",
        "Models/Azkars/AzkarItem.swift",
        "Models/Language.swift",
        "Models/Location/Location.swift",
        "Models/Names/Name.swift",
        "Models/PrayerTimes/Prayer.swift",
        "Models/PrayerTimes/PrayerAttribute.swift",
        "Models/PrayerTimes/PrayerTime.swift",
        "Models/PrayerTimes/TimeFormat.swift",
        "Repository/MuslimRepository.swift",
        "Repository/Repository.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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.