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 DSFFullTextSearchIndex, reference master (ec34a7), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 10:34:35 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFFullTextSearchIndex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFFullTextSearchIndex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ec34a73 Fixed issue with add not removing beforehand.
Cloned https://github.com/dagronf/DSFFullTextSearchIndex.git
Revision (git rev-parse @):
ec34a73b0edbfa86da56ed3995af509ebcc848ac
SUCCESS checkout https://github.com/dagronf/DSFFullTextSearchIndex.git at master
========================================
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": "dsffulltextsearchindex",
      "name": "DSFFullTextSearchIndex",
      "url": "https://github.com/dagronf/DSFFullTextSearchIndex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFFullTextSearchIndex",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/DSFFullTextSearchIndex.git
[1/84] Fetching dsffulltextsearchindex
Fetched https://github.com/dagronf/DSFFullTextSearchIndex.git from cache (0.56s)
Creating working copy for https://github.com/dagronf/DSFFullTextSearchIndex.git
Working copy of https://github.com/dagronf/DSFFullTextSearchIndex.git resolved at master (ec34a73)
warning: '.resolve-product-dependencies': dependency 'dsffulltextsearchindex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFFullTextSearchIndex.git
https://github.com/dagronf/DSFFullTextSearchIndex.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFFullTextSearchIndex",
  "name" : "DSFFullTextSearchIndex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFFullTextSearchIndex",
      "targets" : [
        "DSFFullTextSearchIndex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFFullTextSearchIndexTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFFullTextSearchIndexTests",
      "path" : "Tests/DSFFullTextSearchIndexTests",
      "sources" : [
        "DSFFullTextSearchIndexTests.swift",
        "Filemanager+temporary.swift",
        "StopWords.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFFullTextSearchIndex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFFullTextSearchIndex",
      "module_type" : "SwiftTarget",
      "name" : "DSFFullTextSearchIndex",
      "path" : "Sources/DSFFullTextSearchIndex",
      "product_memberships" : [
        "DSFFullTextSearchIndex"
      ],
      "sources" : [
        "DSFFullTextSearchIndex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module DSFFullTextSearchIndex
/Users/admin/builder/spi-builder-workspace/Sources/DSFFullTextSearchIndex/DSFFullTextSearchIndex.swift:28:21: warning: static property 'TableDef' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// A full text search class using sqlite FTS5 as the text indexer
 27 | @objc public class DSFFullTextSearchIndex: NSObject {
 28 | 	private static var TableDef = "DSFFullTextIndexFTS"
    |                     |- warning: static property 'TableDef' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'TableDef' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'TableDef' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | 	private var db: OpaquePointer?
 30 |
[4/4] Compiling DSFFullTextSearchIndex DSFFullTextSearchIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFFullTextSearchIndex/DSFFullTextSearchIndex.swift:28:21: warning: static property 'TableDef' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// A full text search class using sqlite FTS5 as the text indexer
 27 | @objc public class DSFFullTextSearchIndex: NSObject {
 28 | 	private static var TableDef = "DSFFullTextIndexFTS"
    |                     |- warning: static property 'TableDef' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'TableDef' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'TableDef' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | 	private var db: OpaquePointer?
 30 |
Build complete! (4.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFFullTextSearchIndex",
  "name" : "DSFFullTextSearchIndex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFFullTextSearchIndex",
      "targets" : [
        "DSFFullTextSearchIndex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFFullTextSearchIndexTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFFullTextSearchIndexTests",
      "path" : "Tests/DSFFullTextSearchIndexTests",
      "sources" : [
        "DSFFullTextSearchIndexTests.swift",
        "Filemanager+temporary.swift",
        "StopWords.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DSFFullTextSearchIndex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFFullTextSearchIndex",
      "module_type" : "SwiftTarget",
      "name" : "DSFFullTextSearchIndex",
      "path" : "Sources/DSFFullTextSearchIndex",
      "product_memberships" : [
        "DSFFullTextSearchIndex"
      ],
      "sources" : [
        "DSFFullTextSearchIndex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.