The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MuslimData, reference main (175ea7), with Swift 6.1 for macOS (SPM) on 10 May 2025 23:24:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-prayers/muslim-data-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/my-prayers/muslim-data-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 175ea75 build(release): Bump version to 2.4.0
Cloned https://github.com/my-prayers/muslim-data-ios.git
Revision (git rev-parse @):
175ea7597c099af7b9e6fd6a9f629951be70a1d5
SUCCESS checkout https://github.com/my-prayers/muslim-data-ios.git at main
Fetching https://github.com/groue/GRDB.swift.git
[1/111180] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (8.99s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 6.29.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "muslim-data-ios",
      "name": "MuslimData",
      "url": "https://github.com/my-prayers/muslim-data-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/muslim-data-ios",
      "dependencies": [
        {
          "identity": "grdb.swift",
          "name": "GRDB",
          "url": "https://github.com/groue/GRDB.swift.git",
          "version": "6.29.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GRDB.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/my-prayers/muslim-data-ios.git
[1/2530] Fetching muslim-data-ios
Fetched https://github.com/my-prayers/muslim-data-ios.git from cache (4.66s)
Fetching https://github.com/groue/GRDB.swift.git from cache
Fetched https://github.com/groue/GRDB.swift.git from cache (0.57s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.29.3 (1.14s)
Creating working copy for https://github.com/my-prayers/muslim-data-ios.git
Working copy of https://github.com/my-prayers/muslim-data-ios.git resolved at main (175ea75)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 6.29.3
warning: '.resolve-product-dependencies': dependency 'muslim-data-ios' is not used by any target
Found 1 product dependencies
  - GRDB
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/my-prayers/muslim-data-ios.git
https://github.com/my-prayers/muslim-data-ios.git
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "exact" : [
          "6.29.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    }
  ],
  "manifest_display_name" : "MuslimData",
  "name" : "MuslimData",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Resources/CHANGELOG.md",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Resources/muslim_db_v2.5.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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[1/7] Copying muslim_db_v2.5.0.db
[2/7] Write sources
[3/7] Copying CHANGELOG.md
[3/7] Copying PrivacyInfo.xcprivacy
[5/7] Copying Info.plist
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/157] Emitting module GRDB
[9/173] Compiling GRDB SQLFunctions.swift
[10/173] Compiling GRDB SQLOperators.swift
[11/173] Compiling GRDB SQLOrdering.swift
[12/173] Compiling GRDB SQLRelation.swift
[13/173] Compiling GRDB SQLSelection.swift
[14/173] Compiling GRDB SQLSubquery.swift
[15/173] Compiling GRDB Table.swift
[16/173] Compiling GRDB SQLColumnGenerator.swift
[17/173] Compiling GRDB SQLGenerationContext.swift
[18/173] Compiling GRDB SQLIndexGenerator.swift
[19/173] Compiling GRDB SQLQueryGenerator.swift
[20/173] Compiling GRDB SQLTableAlterationGenerator.swift
[21/173] Compiling GRDB SQLTableGenerator.swift
[22/173] Compiling GRDB SQLInterpolation+QueryInterface.swift
[23/173] Compiling GRDB ColumnDefinition.swift
[24/173] Compiling GRDB Database+SchemaDefinition.swift
[25/173] Compiling GRDB Data.swift
[26/173] Compiling GRDB DatabaseDateComponents.swift
[27/173] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[28/173] Compiling GRDB Date.swift
[29/173] Compiling GRDB Decimal.swift
[30/173] Compiling GRDB NSData.swift
[31/173] Compiling GRDB NSNull.swift
[32/173] Compiling GRDB NSNumber.swift
[33/173] Compiling GRDB NSString.swift
[34/173] Compiling GRDB SQLiteDateParser.swift
[35/173] Compiling GRDB URL.swift
[36/173] Compiling GRDB UUID.swift
[37/173] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[38/173] Compiling GRDB DatabaseValueConvertible+Encodable.swift
[39/173] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[40/173] Compiling GRDB JSONRequiredEncoder.swift
[41/173] Compiling GRDB Optional.swift
[42/173] Compiling GRDB MutablePersistableRecord+Update.swift
[43/173] Compiling GRDB MutablePersistableRecord+Upsert.swift
[44/173] Compiling GRDB MutablePersistableRecord.swift
[45/173] Compiling GRDB PersistableRecord+Insert.swift
[46/173] Compiling GRDB PersistableRecord+Save.swift
[47/173] Compiling GRDB PersistableRecord+Upsert.swift
[48/173] Compiling GRDB PersistableRecord.swift
[49/173] Compiling GRDB Record.swift
[50/173] Compiling GRDB TableRecord.swift
[51/173] Compiling GRDB CaseInsensitiveIdentifier.swift
[52/173] Compiling GRDB Inflections+English.swift
[53/173] Compiling GRDB Inflections.swift
[54/173] Compiling GRDB LockedBox.swift
[55/173] Compiling GRDB OnDemandFuture.swift
[56/173] Compiling GRDB OrderedDictionary.swift
[57/173] Compiling GRDB Pool.swift
[58/173] Compiling GRDB FTS4.swift
[59/173] Compiling GRDB FTS5.swift
[60/173] Compiling GRDB FTS5CustomTokenizer.swift
[61/173] Compiling GRDB FTS5Pattern.swift
[62/173] Compiling GRDB FTS5Tokenizer.swift
[63/173] Compiling GRDB FTS5TokenizerDescriptor.swift
[64/173] Compiling GRDB FTS5WrapperTokenizer.swift
[65/173] Compiling GRDB Fixits.swift
[66/173] Compiling GRDB JSONColumn.swift
[67/173] Compiling GRDB SQLJSONExpressible.swift
[68/173] Compiling GRDB SQLJSONFunctions.swift
[69/173] Compiling GRDB DatabaseMigrator.swift
[70/173] Compiling GRDB Migration.swift
[71/173] Compiling GRDB FTS3+QueryInterface.swift
[72/173] Compiling GRDB FTS5+QueryInterface.swift
[73/173] Compiling GRDB ForeignKey.swift
[74/173] Compiling GRDB Association.swift
[75/173] Compiling GRDB ForeignKeyDefinition.swift
[76/173] Compiling GRDB IndexDefinition.swift
[77/173] Compiling GRDB TableAlteration.swift
[78/173] Compiling GRDB TableDefinition.swift
[79/173] Compiling GRDB VirtualTableModule.swift
[80/173] Compiling GRDB TableRecord+Association.swift
[81/173] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[82/173] Compiling GRDB EncodableRecord+Encodable.swift
[83/173] Compiling GRDB EncodableRecord.swift
[84/173] Compiling GRDB FetchableRecord+Decodable.swift
[85/173] Compiling GRDB FetchableRecord+TableRecord.swift
[86/173] Compiling GRDB FetchableRecord.swift
[87/173] Compiling GRDB MutablePersistableRecord+DAO.swift
[88/173] Compiling GRDB MutablePersistableRecord+Delete.swift
[89/173] Compiling GRDB MutablePersistableRecord+Insert.swift
[90/173] Compiling GRDB MutablePersistableRecord+Save.swift
[91/173] Compiling GRDB AssociationAggregate.swift
[92/173] Compiling GRDB BelongsToAssociation.swift
[93/173] Compiling GRDB HasManyAssociation.swift
[94/173] Compiling GRDB HasManyThroughAssociation.swift
[95/173] Compiling GRDB HasOneAssociation.swift
[96/173] Compiling GRDB HasOneThroughAssociation.swift
[97/173] Compiling GRDB JoinAssociation.swift
[98/173] Compiling GRDB CommonTableExpression.swift
[99/173] Compiling GRDB QueryInterfaceRequest.swift
[100/173] Compiling GRDB RequestProtocols.swift
[101/173] Compiling GRDB Column.swift
[102/173] Compiling GRDB DatabasePromise.swift
[103/173] Compiling GRDB SQLAssociation.swift
[104/173] Compiling GRDB SQLCollection.swift
[105/173] Compiling GRDB SQLExpression.swift
[106/173] Compiling GRDB SQLForeignKeyRequest.swift
[107/173] Compiling GRDB ReadWriteBox.swift
[108/173] Compiling GRDB ReceiveValuesOn.swift
[109/173] Compiling GRDB Refinable.swift
[110/173] Compiling GRDB Utils.swift
[111/173] Compiling GRDB DatabaseCancellable.swift
[112/173] Compiling GRDB ValueConcurrentObserver.swift
[113/173] Compiling GRDB ValueWriteOnlyObserver.swift
[114/173] Compiling GRDB Fetch.swift
[115/173] Compiling GRDB Map.swift
[116/173] Compiling GRDB RemoveDuplicates.swift
[117/173] Compiling GRDB Trace.swift
[118/173] Compiling GRDB ValueReducer.swift
[119/173] Compiling GRDB SharedValueObservation.swift
[120/173] Compiling GRDB ValueObservation.swift
[121/173] Compiling GRDB ValueObservationScheduler.swift
[122/173] Compiling GRDB resource_bundle_accessor.swift
[123/173] Compiling GRDB DatabaseSnapshotPool.swift
[124/173] Compiling GRDB DatabaseValue.swift
[125/173] Compiling GRDB DatabaseValueConvertible.swift
[126/173] Compiling GRDB DatabaseWriter.swift
[127/173] Compiling GRDB FetchRequest.swift
[128/173] Compiling GRDB Row.swift
[129/173] Compiling GRDB RowAdapter.swift
[130/173] Compiling GRDB RowDecodingError.swift
[131/173] Compiling GRDB SQL.swift
[132/173] Compiling GRDB SQLInterpolation.swift
[133/173] Compiling GRDB SQLRequest.swift
[134/173] Compiling GRDB SchedulingWatchdog.swift
[135/173] Compiling GRDB SerializedDatabase.swift
[136/173] Compiling GRDB Statement.swift
[137/173] Compiling GRDB StatementAuthorizer.swift
[138/173] Compiling GRDB StatementColumnConvertible.swift
[139/173] Compiling GRDB CGFloat.swift
[140/173] Compiling GRDB StandardLibrary.swift
[141/173] Compiling GRDB TransactionClock.swift
[142/173] Compiling GRDB TransactionObserver.swift
[143/173] Compiling GRDB WALSnapshot.swift
[144/173] Compiling GRDB WALSnapshotTransaction.swift
[145/173] Compiling GRDB Database+Dump.swift
[146/173] Compiling GRDB DatabaseReader+dump.swift
[147/173] Compiling GRDB DumpFormat.swift
[148/173] Compiling GRDB DebugDumpFormat.swift
[149/173] Compiling GRDB JSONDumpFormat.swift
[150/173] Compiling GRDB LineDumpFormat.swift
[151/173] Compiling GRDB ListDumpFormat.swift
[152/173] Compiling GRDB QuoteDumpFormat.swift
[153/173] Compiling GRDB Export.swift
[154/173] Compiling GRDB FTS3.swift
[155/173] Compiling GRDB FTS3Pattern.swift
[156/173] Compiling GRDB FTS3TokenizerDescriptor.swift
[157/173] Compiling GRDB Configuration.swift
[158/173] Compiling GRDB Cursor.swift
[159/173] Compiling GRDB Database+Schema.swift
[160/173] Compiling GRDB Database+Statements.swift
[161/173] Compiling GRDB Database.swift
[162/173] Compiling GRDB DatabaseBackupProgress.swift
[163/173] Compiling GRDB DatabaseCollation.swift
[164/173] Compiling GRDB DatabaseError.swift
[165/173] Compiling GRDB DatabaseFunction.swift
[166/173] Compiling GRDB DatabasePool.swift
[167/173] Compiling GRDB DatabasePublishers.swift
[168/173] Compiling GRDB DatabaseQueue.swift
[169/173] Compiling GRDB DatabaseReader.swift
[170/173] Compiling GRDB DatabaseRegion.swift
[171/173] Compiling GRDB DatabaseRegionObservation.swift
[172/173] Compiling GRDB DatabaseSchemaCache.swift
[173/173] Compiling GRDB DatabaseSnapshot.swift
[174/190] Compiling MuslimData Repository.swift
[175/191] Compiling MuslimData resource_bundle_accessor.swift
[176/191] Compiling MuslimData AzkarItem.swift
[177/191] Compiling MuslimData Language.swift
[178/191] Compiling MuslimData MuslimRepository.swift
[179/191] Compiling MuslimData PrayerTime.swift
[180/191] Compiling MuslimData TimeFormat.swift
[181/191] Compiling MuslimData SequenceExtensions.swift
[182/191] Compiling MuslimData StringExtensions.swift
[183/191] Compiling MuslimData AzkarCategory.swift
[184/191] Compiling MuslimData AzkarChapter.swift
[185/191] Emitting module MuslimData
/Users/admin/builder/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.5.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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     var dbPath: String {
[186/191] Compiling MuslimData Location.swift
[187/191] Compiling MuslimData Name.swift
[188/191] Compiling MuslimData Prayer.swift
[189/191] Compiling MuslimData PrayerAttribute.swift
[190/191] Compiling MuslimData DBHelper.swift
/Users/admin/builder/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.5.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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     var dbPath: String {
/Users/admin/builder/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 |                 """)
/Users/admin/builder/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
/Users/admin/builder/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 |                 """)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
[191/191] Compiling MuslimData DateExtensions.swift
/Users/admin/builder/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.5.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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     var dbPath: String {
/Users/admin/builder/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 |                 """)
/Users/admin/builder/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
/Users/admin/builder/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 |                 """)
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Models/Language.swift:18:13: note: consider making enum 'Language' conform to the 'Sendable' protocol
16 | /// - fa: Farsi
17 | /// - ru: Russian
18 | public enum Language: String {
   |             `- note: consider making enum 'Language' conform to the 'Sendable' protocol
19 |     case en
20 |     case ar
Build complete! (9.22s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "exact" : [
          "6.29.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    }
  ],
  "manifest_display_name" : "MuslimData",
  "name" : "MuslimData",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Resources/CHANGELOG.md",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MuslimData/Resources/muslim_db_v2.5.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"
}
Done.