Build Information
Failed to build meilisearch-swift, reference 0.17.0 (4b7078
), with Swift 6.2 (beta) for Android on 22 Jun 2025 20:54:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/meilisearch/meilisearch-swift.git
Reference: 0.17.0
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/meilisearch/meilisearch-swift
* tag 0.17.0 -> FETCH_HEAD
HEAD is now at 4b70780 Merge #465
Cloned https://github.com/meilisearch/meilisearch-swift.git
Revision (git rev-parse @):
4b70780d3472821610135d234c7ecf4772f8be9a
SUCCESS checkout https://github.com/meilisearch/meilisearch-swift.git at 0.17.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/meilisearch/meilisearch-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/50] Emitting module MeiliSearch
[4/56] Compiling MeiliSearch Search.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[5/56] Compiling MeiliSearch Settings.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[6/56] Compiling MeiliSearch Snapshots.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[7/56] Compiling MeiliSearch Stats.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[8/56] Compiling MeiliSearch System.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[9/56] Compiling MeiliSearch Tasks.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Tasks.swift:102:13: error: cannot find 'usleep' in scope
100 | completion(.failure(MeiliSearch.Error.timeOut(timeOut: options.timeOut)))
101 | } else {
102 | usleep(useconds_t(options.interval * 1000000))
| `- error: cannot find 'usleep' in scope
103 | self.checkStatus(taskUid, options, startingDate, completion)
104 | }
[10/56] Compiling MeiliSearch DocumentsQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[11/56] Compiling MeiliSearch IndexesQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[12/56] Compiling MeiliSearch KeysQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[13/56] Compiling MeiliSearch Queryable.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[14/56] Compiling MeiliSearch TasksQuery.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[15/56] Compiling MeiliSearch Request.swift
/host/spi-builder-workspace/Sources/MeiliSearch/Request.swift:212:53: warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
209 | public func execute(
210 | with request: URLRequest,
211 | completionHandler: @escaping DataTask) -> URLSessionDataTaskProtocol {
| `- note: parameter 'completionHandler' is implicitly non-sendable
212 | self.dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTaskProtocol
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
213 | }
214 | }
[16/56] Compiling MeiliSearch TypoTolerance.swift
[17/56] Compiling MeiliSearch TypoToleranceResult.swift
[18/56] Compiling MeiliSearch Version.swift
[19/56] Compiling MeiliSearch WaitOptions.swift
[20/56] Compiling MeiliSearch CancelTasksQuery.swift
[21/56] Compiling MeiliSearch DeleteTasksQuery.swift
[22/56] Compiling MeiliSearch Stat.swift
[23/56] Compiling MeiliSearch Task.swift
[24/56] Compiling MeiliSearch TaskDetails.swift
[25/56] Compiling MeiliSearch TaskInfo.swift
[26/56] Compiling MeiliSearch TaskStatus.swift
[27/56] Compiling MeiliSearch TaskType.swift
[28/56] Compiling MeiliSearch TasksResults.swift
[29/56] Compiling MeiliSearch Error.swift
[30/56] Compiling MeiliSearch Formatter.swift
[31/56] Compiling MeiliSearch Indexes.swift
[32/56] Compiling MeiliSearch Keys.swift
[33/56] Compiling MeiliSearch DocumentsResults.swift
[34/56] Compiling MeiliSearch FacetStats.swift
[35/56] Compiling MeiliSearch Health.swift
[36/56] Compiling MeiliSearch Client+async.swift
[37/56] Compiling MeiliSearch Indexes+async.swift
[38/56] Compiling MeiliSearch Client.swift
[39/56] Compiling MeiliSearch Config.swift
[40/56] Compiling MeiliSearch Constants.swift
[41/56] Compiling MeiliSearch Documents.swift
[42/56] Compiling MeiliSearch Dumps.swift
[43/56] Compiling MeiliSearch Pagination.swift
[44/56] Compiling MeiliSearch ProximityPrecision.swift
[45/56] Compiling MeiliSearch SearchParameters.swift
[46/56] Compiling MeiliSearch SearchResult.swift
[47/56] Compiling MeiliSearch SearchScoreRankingDetails.swift
[48/56] Compiling MeiliSearch Setting.swift
[49/56] Compiling MeiliSearch SettingResult.swift
[50/56] Compiling MeiliSearch Index.swift
[51/56] Compiling MeiliSearch IndexesResults.swift
[52/56] Compiling MeiliSearch Key.swift
[53/56] Compiling MeiliSearch KeyAction.swift
[54/56] Compiling MeiliSearch KeyParams.swift
[55/56] Compiling MeiliSearch KeysResults.swift
[56/56] Compiling MeiliSearch PackageVersion.swift
BUILD FAILURE 6.2 android