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 Linux on 10 May 2025 23:23:42 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/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.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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/groue/GRDB.swift.git
[1/111180] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (14.75s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.29.3 (18.49s)
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
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[1/7] Copying Info.plist
[1/7] Copying CHANGELOG.md
[4/7] Write sources
[5/7] Copying muslim_db_v2.5.0.db
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/153] Compiling GRDB QuoteDumpFormat.swift
[9/153] Compiling GRDB Export.swift
[10/153] Compiling GRDB FTS3.swift
[11/153] Compiling GRDB FTS3Pattern.swift
[12/153] Compiling GRDB FTS3TokenizerDescriptor.swift
[13/153] Compiling GRDB FTS4.swift
[14/153] Compiling GRDB FTS5.swift
[15/153] Compiling GRDB FTS5CustomTokenizer.swift
[16/153] Compiling GRDB FTS5Pattern.swift
[17/153] Compiling GRDB FTS5Tokenizer.swift
[18/153] Compiling GRDB FTS5TokenizerDescriptor.swift
[19/153] Compiling GRDB FTS5WrapperTokenizer.swift
[20/153] Compiling GRDB Fixits.swift
[21/153] Compiling GRDB JSONColumn.swift
[22/153] Compiling GRDB SQLJSONExpressible.swift
[23/153] Compiling GRDB SQLJSONFunctions.swift
[24/153] Compiling GRDB DatabaseMigrator.swift
[25/153] Compiling GRDB Migration.swift
[26/153] Compiling GRDB FTS3+QueryInterface.swift
[27/153] Compiling GRDB FTS5+QueryInterface.swift
[28/153] Compiling GRDB ForeignKey.swift
[29/173] Compiling GRDB FetchRequest.swift
[30/173] Compiling GRDB Row.swift
[31/173] Compiling GRDB RowAdapter.swift
[32/173] Compiling GRDB RowDecodingError.swift
[33/173] Compiling GRDB SQL.swift
[34/173] Compiling GRDB SQLInterpolation.swift
[35/173] Compiling GRDB SQLRequest.swift
[36/173] Compiling GRDB SchedulingWatchdog.swift
[37/173] Compiling GRDB SerializedDatabase.swift
[38/173] Compiling GRDB Statement.swift
[39/173] Compiling GRDB StatementAuthorizer.swift
[40/173] Compiling GRDB StatementColumnConvertible.swift
[41/173] Compiling GRDB CGFloat.swift
[42/173] Compiling GRDB Data.swift
[43/173] Compiling GRDB DatabaseDateComponents.swift
[44/173] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[45/173] Compiling GRDB Date.swift
[46/173] Compiling GRDB Decimal.swift
[47/173] Compiling GRDB NSData.swift
[48/173] Compiling GRDB NSNull.swift
[49/173] Compiling GRDB NSNumber.swift
[50/173] Compiling GRDB SQLSelection.swift
[51/173] Compiling GRDB SQLSubquery.swift
[52/173] Compiling GRDB Table.swift
[53/173] Compiling GRDB SQLColumnGenerator.swift
[54/173] Compiling GRDB SQLGenerationContext.swift
[55/173] Compiling GRDB SQLIndexGenerator.swift
[56/173] Compiling GRDB SQLQueryGenerator.swift
[57/173] Compiling GRDB SQLTableAlterationGenerator.swift
[58/173] Compiling GRDB SQLTableGenerator.swift
[59/173] Compiling GRDB SQLInterpolation+QueryInterface.swift
[60/173] Compiling GRDB ColumnDefinition.swift
[61/173] Compiling GRDB Database+SchemaDefinition.swift
[62/173] Compiling GRDB ForeignKeyDefinition.swift
[63/173] Compiling GRDB IndexDefinition.swift
[64/173] Compiling GRDB TableAlteration.swift
[65/173] Compiling GRDB TableDefinition.swift
[66/173] Compiling GRDB VirtualTableModule.swift
[67/173] Compiling GRDB TableRecord+Association.swift
[68/173] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[69/173] Compiling GRDB EncodableRecord+Encodable.swift
[70/173] Emitting module GRDB
[71/173] Compiling GRDB NSString.swift
[72/173] Compiling GRDB SQLiteDateParser.swift
[73/173] Compiling GRDB URL.swift
[74/173] Compiling GRDB UUID.swift
[75/173] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[76/173] Compiling GRDB DatabaseValueConvertible+Encodable.swift
[77/173] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[78/173] Compiling GRDB JSONRequiredEncoder.swift
[79/173] Compiling GRDB Optional.swift
[80/173] Compiling GRDB StandardLibrary.swift
[81/173] Compiling GRDB TransactionClock.swift
[82/173] Compiling GRDB TransactionObserver.swift
[83/173] Compiling GRDB WALSnapshot.swift
[84/173] Compiling GRDB WALSnapshotTransaction.swift
[85/173] Compiling GRDB Database+Dump.swift
[86/173] Compiling GRDB DatabaseReader+dump.swift
[87/173] Compiling GRDB DumpFormat.swift
[88/173] Compiling GRDB DebugDumpFormat.swift
[89/173] Compiling GRDB JSONDumpFormat.swift
[90/173] Compiling GRDB LineDumpFormat.swift
[91/173] Compiling GRDB ListDumpFormat.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 Configuration.swift
[134/173] Compiling GRDB Cursor.swift
[135/173] Compiling GRDB Database+Schema.swift
[136/173] Compiling GRDB Database+Statements.swift
[137/173] Compiling GRDB Database.swift
[138/173] Compiling GRDB DatabaseBackupProgress.swift
[139/173] Compiling GRDB DatabaseCollation.swift
[140/173] Compiling GRDB DatabaseError.swift
[141/173] Compiling GRDB DatabaseFunction.swift
[142/173] Compiling GRDB DatabasePool.swift
[143/173] Compiling GRDB DatabasePublishers.swift
[144/173] Compiling GRDB DatabaseQueue.swift
[145/173] Compiling GRDB DatabaseReader.swift
[146/173] Compiling GRDB DatabaseRegion.swift
[147/173] Compiling GRDB DatabaseRegionObservation.swift
[148/173] Compiling GRDB DatabaseSchemaCache.swift
[149/173] Compiling GRDB DatabaseSnapshot.swift
[150/173] Compiling GRDB DatabaseSnapshotPool.swift
[151/173] Compiling GRDB DatabaseValue.swift
[152/173] Compiling GRDB DatabaseValueConvertible.swift
[153/173] Compiling GRDB DatabaseWriter.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] 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.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 {
[176/192] Compiling MuslimData Repository.swift
[177/192] Compiling MuslimData resource_bundle_accessor.swift
[178/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.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 {
/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: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
/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: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
/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: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
/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: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
/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: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
[179/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.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 {
/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: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
/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: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
/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: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
/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: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
/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: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
[180/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.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 {
/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: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
/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: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
/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: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
/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: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
/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: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
[181/192] Compiling MuslimData AzkarChapter.swift
[182/192] Compiling MuslimData AzkarItem.swift
[183/192] Compiling MuslimData Language.swift
[184/192] Compiling MuslimData Location.swift
[185/192] Compiling MuslimData TimeFormat.swift
[186/192] Compiling MuslimData MuslimRepository.swift
[187/192] Compiling MuslimData StringExtensions.swift
[188/192] Compiling MuslimData AzkarCategory.swift
[189/192] Compiling MuslimData Name.swift
[190/192] Compiling MuslimData Prayer.swift
[191/192] Compiling MuslimData PrayerAttribute.swift
[192/192] Compiling MuslimData PrayerTime.swift
Build complete! (47.66s)
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" : "/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.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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.