Build Information
Successful build of Typesense, reference v1.0.1 (0f6c55
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 05:33:09 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typesense/typesense-swift.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/typesense/typesense-swift
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 0f6c550 Merge pull request #39 from phiHero/conversation
Cloned https://github.com/typesense/typesense-swift.git
Revision (git rev-parse @):
0f6c550c627433d82b2f9698b1ed5c59490b56d2
SUCCESS checkout https://github.com/typesense/typesense-swift.git at v1.0.1
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.93s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.66s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
========================================
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": "typesense-swift",
"name": "Typesense",
"url": "https://github.com/typesense/typesense-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/typesense-swift",
"dependencies": [
{
"identity": "anycodable",
"name": "AnyCodable",
"url": "https://github.com/Flight-School/AnyCodable",
"version": "0.6.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/typesense/typesense-swift.git
[1/1557] Fetching typesense-swift
Fetched https://github.com/typesense/typesense-swift.git from cache (1.46s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.48s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.02s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/typesense/typesense-swift.git
Working copy of https://github.com/typesense/typesense-swift.git resolved at v1.0.1 (0f6c550)
warning: '.resolve-product-dependencies': dependency 'typesense-swift' is not used by any target
Found 1 product dependencies
- AnyCodable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/typesense/typesense-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling AnyCodable AnyEncodable.swift
[5/7] Compiling AnyCodable AnyCodable.swift
[6/7] Emitting module AnyCodable
[7/7] Compiling AnyCodable AnyDecodable.swift
[8/107] Compiling Typesense ConversationModel.swift
[9/107] Compiling Typesense ConversationModels.swift
[10/107] Compiling Typesense Conversations.swift
[11/107] Compiling Typesense Document.swift
[12/107] Compiling Typesense Documents.swift
[13/107] Compiling Typesense Errors.swift
[14/107] Compiling Typesense AnalyticsEventCreateResponse.swift
[15/107] Compiling Typesense AnalyticsEventCreateSchema.swift
[16/107] Compiling Typesense AnalyticsRuleDeleteResponse.swift
[17/107] Compiling Typesense AnalyticsRuleParameters.swift
[18/107] Compiling Typesense AnalyticsRuleParametersDestination.swift
[19/118] Compiling Typesense Alias.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[20/118] Compiling Typesense Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[21/118] Compiling Typesense AnalyticsEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[22/118] Compiling Typesense AnalyticsRule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[23/118] Compiling Typesense AnalyticsRules.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[24/118] Compiling Typesense ApiCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[25/118] Compiling Typesense ApiKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[26/118] Compiling Typesense Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[27/118] Compiling Typesense Collection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[28/118] Compiling Typesense Collections.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[29/118] Compiling Typesense Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
[30/118] Compiling Typesense CollectionAliasesResponse.swift
[31/118] Compiling Typesense CollectionResponse.swift
[32/118] Compiling Typesense CollectionSchema.swift
[33/118] Compiling Typesense CollectionUpdateSchema.swift
[34/118] Compiling Typesense ConversationModelCreateSchema.swift
[35/118] Compiling Typesense ConversationModelSchema.swift
[36/118] Compiling Typesense ConversationModelUpdateSchema.swift
[37/118] Compiling Typesense DebugRetrieveSchema.swift
[38/118] Compiling Typesense DeleteDocumentsParameters.swift
[39/118] Compiling Typesense DeleteDocumentsResponse.swift
[40/118] Compiling Typesense DocumentIndexParameters.swift
[41/118] Compiling Typesense StopwordsSetsRetrieveAllSchema.swift
[42/118] Compiling Typesense SuccessStatus.swift
[43/118] Compiling Typesense UpdateByFilterResponse.swift
[44/118] Compiling Typesense UpdateDocumentsByFilterParameters.swift
[45/118] Compiling Typesense VoiceQueryModelCollectionConfig.swift
[46/118] Compiling Typesense MultiSearch.swift
[47/118] Compiling Typesense Node.swift
[48/118] Compiling Typesense Operations.swift
[49/118] Compiling Typesense Override.swift
[50/118] Compiling Typesense Overrides.swift
[51/118] Compiling Typesense Preset.swift
[52/118] Compiling Typesense SearchHighlight.swift
[53/118] Compiling Typesense SearchOverride.swift
[54/118] Compiling Typesense SearchOverrideDeleteResponse.swift
[55/118] Compiling Typesense SearchOverrideExclude.swift
[56/118] Compiling Typesense SearchOverrideInclude.swift
[57/118] Compiling Typesense SearchOverrideRule.swift
[58/118] Compiling Typesense SearchOverrideSchema.swift
[59/118] Compiling Typesense SearchOverridesResponse.swift
[60/118] Compiling Typesense SearchParameters.swift
[61/118] Compiling Typesense SearchResult.swift
[62/118] Compiling Typesense SearchResultConversation.swift
[63/118] Compiling Typesense ExportDocumentsParameters.swift
[64/118] Compiling Typesense FacetCounts.swift
[65/118] Compiling Typesense FacetCountsCounts.swift
[66/118] Compiling Typesense FacetCountsStats.swift
[67/118] Compiling Typesense Field.swift
[68/118] Compiling Typesense FieldEmbed.swift
[69/118] Compiling Typesense FieldEmbedModelConfig.swift
[70/118] Compiling Typesense HealthStatus.swift
[71/118] Compiling Typesense ImportDocumentsParameters.swift
[72/118] Compiling Typesense InlineResponse2002.swift
[73/118] Compiling Typesense ModelErrorResponse.swift
[74/118] Compiling Typesense AnalyticsRuleParametersSource.swift
[75/118] Compiling Typesense AnalyticsRuleParametersSourceEvents.swift
[76/118] Compiling Typesense AnalyticsRuleSchema.swift
[77/118] Compiling Typesense AnalyticsRuleUpsertSchema.swift
[78/118] Compiling Typesense AnalyticsRulesRetrieveSchema.swift
[79/118] Compiling Typesense ApiKey.swift
[80/118] Compiling Typesense ApiKeySchema.swift
[81/118] Compiling Typesense ApiKeysResponse.swift
[82/118] Compiling Typesense ApiResponse.swift
[83/118] Compiling Typesense CollectionAlias.swift
[84/118] Compiling Typesense CollectionAliasSchema.swift
[85/118] Compiling Typesense SearchResultHit.swift
[86/118] Compiling Typesense SearchResultRequestParams.swift
[87/118] Compiling Typesense SearchResultRequestParamsVoiceQuery.swift
[88/118] Compiling Typesense SearchSynonym.swift
[89/118] Compiling Typesense SearchSynonymSchema.swift
[90/118] Compiling Typesense SearchSynonymsResponse.swift
[91/118] Compiling Typesense SnapshotParameters.swift
[92/118] Compiling Typesense StopwordsSetDeleteSchema.swift
[93/118] Compiling Typesense StopwordsSetRetrieveSchema.swift
[94/118] Compiling Typesense StopwordsSetSchema.swift
[95/118] Compiling Typesense StopwordsSetUpsertSchema.swift
[96/118] Compiling Typesense MultiSearchCollectionParameters.swift
[97/118] Compiling Typesense MultiSearchParameters.swift
[98/118] Compiling Typesense MultiSearchResult.swift
[99/118] Compiling Typesense MultiSearchSearchesParameter.swift
[100/118] Compiling Typesense PresetDeleteSchema.swift
[101/118] Compiling Typesense PresetSchema.swift
[102/118] Compiling Typesense PresetUpsertSchema.swift
[103/118] Compiling Typesense PresetValue.swift
[104/118] Compiling Typesense PresetsRetrieveSchema.swift
[105/118] Compiling Typesense ScopedKeyParameters.swift
[106/118] Compiling Typesense SearchGroupedHit.swift
[107/118] Compiling Typesense Presets.swift
[108/118] Compiling Typesense RequestTypes.swift
[109/118] Compiling Typesense Coders.swift
[110/118] Compiling Typesense Enums.swift
[111/118] Compiling Typesense Logger.swift
[112/118] Compiling Typesense RequestNumber.swift
[113/118] Compiling Typesense Stopword.swift
[114/118] Compiling Typesense Stopwords.swift
[115/118] Compiling Typesense Synonyms.swift
[116/118] Compiling Typesense CreateURLQueryParams.swift
[117/118] Compiling Typesense Extensions.swift
[118/118] Emitting module Typesense
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsEvents.swift:7:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public struct AnalyticsEvents {
7 | static var resourcePath: String = "\(Analytics.resourcePath)/events"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
8 | var apiCall: ApiCall
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Typesense/AnalyticsRules.swift:9:16: warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public struct AnalyticsRules {
8 | private var apiCall: ApiCall
9 | static var resourcePath: String = "\(Analytics.resourcePath)/rules"
| |- warning: static property 'resourcePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'resourcePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'resourcePath' 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
10 |
11 | init(apiCall: ApiCall) {
Build complete! (12.94s)
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Typesense",
"name" : "Typesense",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Typesense",
"targets" : [
"Typesense"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TypesenseTests",
"module_type" : "SwiftTarget",
"name" : "TypesenseTests",
"path" : "Tests/TypesenseTests",
"sources" : [
"AnalyticsTests.swift",
"ApiCallTests.swift",
"ApiKeyTests.swift",
"CollectionAliasTests.swift",
"CollectionTests.swift",
"ConfigurationTests.swift",
"ConversationModelTests.swift",
"CreateURLQueryParamsTests.swift",
"DocumentTests.swift",
"MultiSearchTests.swift",
"OperationTests.swift",
"OverrideTests.swift",
"OverridesTests.swift",
"PresetTests.swift",
"PresetsTests.swift",
"StopwordTests.swift",
"StopwordsTests.swift",
"SynonymTests.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"Typesense"
],
"type" : "test"
},
{
"c99name" : "Typesense",
"module_type" : "SwiftTarget",
"name" : "Typesense",
"path" : "Sources/Typesense",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Typesense"
],
"sources" : [
"Alias.swift",
"Analytics.swift",
"AnalyticsEvents.swift",
"AnalyticsRule.swift",
"AnalyticsRules.swift",
"ApiCall.swift",
"ApiKeys.swift",
"Client.swift",
"Collection.swift",
"Collections.swift",
"Configuration.swift",
"ConversationModel.swift",
"ConversationModels.swift",
"Conversations.swift",
"Document.swift",
"Documents.swift",
"Errors.swift",
"Models/AnalyticsEventCreateResponse.swift",
"Models/AnalyticsEventCreateSchema.swift",
"Models/AnalyticsRuleDeleteResponse.swift",
"Models/AnalyticsRuleParameters.swift",
"Models/AnalyticsRuleParametersDestination.swift",
"Models/AnalyticsRuleParametersSource.swift",
"Models/AnalyticsRuleParametersSourceEvents.swift",
"Models/AnalyticsRuleSchema.swift",
"Models/AnalyticsRuleUpsertSchema.swift",
"Models/AnalyticsRulesRetrieveSchema.swift",
"Models/ApiKey.swift",
"Models/ApiKeySchema.swift",
"Models/ApiKeysResponse.swift",
"Models/ApiResponse.swift",
"Models/CollectionAlias.swift",
"Models/CollectionAliasSchema.swift",
"Models/CollectionAliasesResponse.swift",
"Models/CollectionResponse.swift",
"Models/CollectionSchema.swift",
"Models/CollectionUpdateSchema.swift",
"Models/ConversationModelCreateSchema.swift",
"Models/ConversationModelSchema.swift",
"Models/ConversationModelUpdateSchema.swift",
"Models/DebugRetrieveSchema.swift",
"Models/DeleteDocumentsParameters.swift",
"Models/DeleteDocumentsResponse.swift",
"Models/DocumentIndexParameters.swift",
"Models/ExportDocumentsParameters.swift",
"Models/FacetCounts.swift",
"Models/FacetCountsCounts.swift",
"Models/FacetCountsStats.swift",
"Models/Field.swift",
"Models/FieldEmbed.swift",
"Models/FieldEmbedModelConfig.swift",
"Models/HealthStatus.swift",
"Models/ImportDocumentsParameters.swift",
"Models/InlineResponse2002.swift",
"Models/ModelErrorResponse.swift",
"Models/MultiSearchCollectionParameters.swift",
"Models/MultiSearchParameters.swift",
"Models/MultiSearchResult.swift",
"Models/MultiSearchSearchesParameter.swift",
"Models/PresetDeleteSchema.swift",
"Models/PresetSchema.swift",
"Models/PresetUpsertSchema.swift",
"Models/PresetValue.swift",
"Models/PresetsRetrieveSchema.swift",
"Models/ScopedKeyParameters.swift",
"Models/SearchGroupedHit.swift",
"Models/SearchHighlight.swift",
"Models/SearchOverride.swift",
"Models/SearchOverrideDeleteResponse.swift",
"Models/SearchOverrideExclude.swift",
"Models/SearchOverrideInclude.swift",
"Models/SearchOverrideRule.swift",
"Models/SearchOverrideSchema.swift",
"Models/SearchOverridesResponse.swift",
"Models/SearchParameters.swift",
"Models/SearchResult.swift",
"Models/SearchResultConversation.swift",
"Models/SearchResultHit.swift",
"Models/SearchResultRequestParams.swift",
"Models/SearchResultRequestParamsVoiceQuery.swift",
"Models/SearchSynonym.swift",
"Models/SearchSynonymSchema.swift",
"Models/SearchSynonymsResponse.swift",
"Models/SnapshotParameters.swift",
"Models/StopwordsSetDeleteSchema.swift",
"Models/StopwordsSetRetrieveSchema.swift",
"Models/StopwordsSetSchema.swift",
"Models/StopwordsSetUpsertSchema.swift",
"Models/StopwordsSetsRetrieveAllSchema.swift",
"Models/SuccessStatus.swift",
"Models/UpdateByFilterResponse.swift",
"Models/UpdateDocumentsByFilterParameters.swift",
"Models/VoiceQueryModelCollectionConfig.swift",
"MultiSearch.swift",
"Node.swift",
"Operations.swift",
"Override.swift",
"Overrides.swift",
"Preset.swift",
"Presets.swift",
"RequestTypes.swift",
"Shared/Coders.swift",
"Shared/Enums.swift",
"Shared/Logger.swift",
"Shared/RequestNumber.swift",
"Stopword.swift",
"Stopwords.swift",
"Synonyms.swift",
"utils/CreateURLQueryParams.swift",
"utils/Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.