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 Ifrit, reference main (24a232), with Swift 6.0 for Linux on 23 Oct 2025 11:04:26 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ukushu/Ifrit.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/ukushu/Ifrit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 24a2327 Update README
Cloned https://github.com/ukushu/Ifrit.git
Revision (git rev-parse @):
24a23272e896756655421c6f0f16980cf3ab453c
SUCCESS checkout https://github.com/ukushu/Ifrit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ukushu/Ifrit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse_LICENSE
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/23] Emitting module Ifrit
[4/25] Compiling Ifrit Levenstain.swift
[5/25] Compiling Ifrit String+.swift
[6/25] Compiling Ifrit Fuse+String.swift
[7/25] Compiling Ifrit Fuse.swift
[8/25] Compiling Ifrit FuzzyResultSegment.swift
[9/25] Compiling Ifrit Score.swift
[10/25] Compiling Ifrit FuseProp.swift
[11/25] Compiling Ifrit FuseUtilities.swift
[12/25] Compiling Ifrit String+Fuse.swift
[13/25] Compiling Ifrit Alignment.swift
[14/25] Compiling Ifrit Fuzzy.swift
[15/25] Compiling Ifrit FuzzyResult.swift
[16/25] Compiling Ifrit Searchable.swift
[17/25] Compiling Ifrit Array+.swift
[18/25] Compiling Ifrit Fuse+ArrObjects.swift
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:63:25: warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
61 |                     if let result = self.search(pattern, in: item) {
62 |                         itemsLock.lock()
63 |                         items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
   |                         `- warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
64 |                         itemsLock.unlock()
65 |                     }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+FuseProps.swift:124:25: warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
122 |
123 |                         resultLock.lock()
124 |                         collectionResult.append((
    |                         `- warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
125 |                             index: chunkIndex * chunkSize + index,
126 |                             diffScore: self.objSortStrategy == .averageScore ? totalScore / Double(scores.count) : scores.min() ?? 1,
[19/25] Compiling Ifrit Fuse+ArrStrings.swift
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:63:25: warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
61 |                     if let result = self.search(pattern, in: item) {
62 |                         itemsLock.lock()
63 |                         items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
   |                         `- warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
64 |                         itemsLock.unlock()
65 |                     }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+FuseProps.swift:124:25: warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
122 |
123 |                         resultLock.lock()
124 |                         collectionResult.append((
    |                         `- warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
125 |                             index: chunkIndex * chunkSize + index,
126 |                             diffScore: self.objSortStrategy == .averageScore ? totalScore / Double(scores.count) : scores.min() ?? 1,
[20/25] Compiling Ifrit Fuse+FuseProps.swift
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+ArrStrings.swift:63:25: warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
61 |                     if let result = self.search(pattern, in: item) {
62 |                         itemsLock.lock()
63 |                         items.append((chunkIndex * chunkSize + index, result.score, result.ranges))
   |                         `- warning: mutation of captured var 'items' in concurrently-executing code; this is an error in the Swift 6 language mode
64 |                         itemsLock.unlock()
65 |                     }
/host/spi-builder-workspace/Sources/Ifrit/Classes/Fuse+/Fuse+FuseProps.swift:124:25: warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
122 |
123 |                         resultLock.lock()
124 |                         collectionResult.append((
    |                         `- warning: mutation of captured var 'collectionResult' in concurrently-executing code; this is an error in the Swift 6 language mode
125 |                             index: chunkIndex * chunkSize + index,
126 |                             diffScore: self.objSortStrategy == .averageScore ? totalScore / Double(scores.count) : scores.min() ?? 1,
[21/26] Wrapping AST for Ifrit for debugging
[22/26] Write Objects.LinkFileList
[24/26] Archiving libIfritStatic.a
[25/26] Linking libIfrit.so
Build complete! (17.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ifrit",
  "name" : "Ifrit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Ifrit",
      "targets" : [
        "Ifrit"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "IfritStatic",
      "targets" : [
        "Ifrit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "IfritTests",
      "module_type" : "SwiftTarget",
      "name" : "IfritTests",
      "path" : "Tests",
      "sources" : [
        "Ifrit_Documentation/IfritDoxCode_Fuse_Test.swift",
        "Ifrit_Documentation/IfritDoxCode_Leve_Test.swift",
        "Ifrit_FuseTests/Fuse_TestsBasic.swift",
        "Ifrit_FuseTests/Fuse_TestsPerformance.swift",
        "Ifrit_FuseTests/Fuse_TestsTokenize.swift",
        "Ifrit_FuseTests/TestData.swift",
        "Ifrit_Levenstain/Levenstain_Tests.swift",
        "Ifrit_Levenstain/Levenstain_TestsCore.swift"
      ],
      "target_dependencies" : [
        "Ifrit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ifrit",
      "module_type" : "SwiftTarget",
      "name" : "Ifrit",
      "path" : "Sources/Ifrit",
      "product_memberships" : [
        "Ifrit",
        "IfritStatic"
      ],
      "sources" : [
        "Classes/Fuse+/Fuse+ArrObjects.swift",
        "Classes/Fuse+/Fuse+ArrStrings.swift",
        "Classes/Fuse+/Fuse+FuseProps.swift",
        "Classes/Fuse+/Fuse+String.swift",
        "Classes/Fuse.swift",
        "Classes/FuseProp.swift",
        "Classes/FuseUtilities.swift",
        "Classes/Searchable.swift",
        "Exts/Array+.swift",
        "Exts/String+Fuse.swift",
        "Levenstain/FuzzyFind/Alignment.swift",
        "Levenstain/FuzzyFind/Fuzzy.swift",
        "Levenstain/FuzzyFind/FuzzyResult.swift",
        "Levenstain/FuzzyFind/FuzzyResultSegment.swift",
        "Levenstain/FuzzyFind/Score.swift",
        "Levenstain/Levenstain.swift",
        "Levenstain/String+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.