The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WZQInstantSearch, reference 1.0.1 (5fd695), with Swift 6.1 for Android on 27 May 2025 08:34:40 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/satanwoo/wzqinstantsearch.git
Reference: 1.0.1
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/satanwoo/wzqinstantsearch
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 5fd695d Change readme
Cloned https://github.com/satanwoo/wzqinstantsearch.git
Revision (git rev-parse @):
5fd695d19706778c0e323d717a63ebd68c157dc0
SUCCESS checkout https://github.com/satanwoo/wzqinstantsearch.git at 1.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/satanwoo/wzqinstantsearch.git
https://github.com/satanwoo/wzqinstantsearch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WZQInstantSearch",
  "name" : "WZQInstantSearch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WZQInstantSearch",
      "targets" : [
        "WZQInstantSearch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WZQInstantSearchTests",
      "module_type" : "SwiftTarget",
      "name" : "WZQInstantSearchTests",
      "path" : "Tests/WZQInstantSearchTests",
      "sources" : [
        "WZQInstantSearchTests.swift"
      ],
      "target_dependencies" : [
        "WZQInstantSearch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WZQInstantSearch",
      "module_type" : "SwiftTarget",
      "name" : "WZQInstantSearch",
      "path" : "Sources/WZQInstantSearch",
      "product_memberships" : [
        "WZQInstantSearch"
      ],
      "sources" : [
        "StringEXT.swift",
        "Trie.swift",
        "WZQInstantSearch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module WZQInstantSearch
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/WZQInstantSearch/WZQInstantSearch.swift:79:24: warning: static property 'templates' is not concurrency-safe because non-'Sendable' type '[(String) -> String]' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     private static let templates:[(String) -> (String)] = [
    |                        |- warning: static property 'templates' is not concurrency-safe because non-'Sendable' type '[(String) -> String]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'templates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         makeLowerCase,
 81 |         removePuntucation,
[4/6] Compiling WZQInstantSearch StringEXT.swift
[5/6] Compiling WZQInstantSearch Trie.swift
/host/spi-builder-workspace/Sources/WZQInstantSearch/Trie.swift:59:34: warning: 'characters' is deprecated: Please use String directly
 57 |         var currentIndex = 0
 58 |
 59 |         while currentIndex < str.characters.count {
    |                                  `- warning: 'characters' is deprecated: Please use String directly
 60 |             let c = str[currentIndex]
 61 |             let offset = alphabetToOffset(c: c)
/host/spi-builder-workspace/Sources/WZQInstantSearch/Trie.swift:72:36: warning: 'characters' is deprecated: Please use String directly
 70 |             currentIndex += 1
 71 |
 72 |             if currentIndex == str.characters.count {
    |                                    `- warning: 'characters' is deprecated: Please use String directly
 73 |
 74 |                 guard let newLeafData = data else {
[6/6] Compiling WZQInstantSearch WZQInstantSearch.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/WZQInstantSearch/WZQInstantSearch.swift:79:24: warning: static property 'templates' is not concurrency-safe because non-'Sendable' type '[(String) -> String]' may have shared mutable state; this is an error in the Swift 6 language mode
 77 |     }
 78 |
 79 |     private static let templates:[(String) -> (String)] = [
    |                        |- warning: static property 'templates' is not concurrency-safe because non-'Sendable' type '[(String) -> String]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'templates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         makeLowerCase,
 81 |         removePuntucation,
Build complete! (8.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WZQInstantSearch",
  "name" : "WZQInstantSearch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WZQInstantSearch",
      "targets" : [
        "WZQInstantSearch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WZQInstantSearchTests",
      "module_type" : "SwiftTarget",
      "name" : "WZQInstantSearchTests",
      "path" : "Tests/WZQInstantSearchTests",
      "sources" : [
        "WZQInstantSearchTests.swift"
      ],
      "target_dependencies" : [
        "WZQInstantSearch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WZQInstantSearch",
      "module_type" : "SwiftTarget",
      "name" : "WZQInstantSearch",
      "path" : "Sources/WZQInstantSearch",
      "product_memberships" : [
        "WZQInstantSearch"
      ],
      "sources" : [
        "StringEXT.swift",
        "Trie.swift",
        "WZQInstantSearch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.