Build Information
Failed to build SwiftLevelDB, reference master (e7b910), with Swift 6.2 for Android on 15 May 2026 17:27:55 UTC.
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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amraboelela/swiftleveldb.git
Reference: master
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/amraboelela/swiftleveldb
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e7b910a Update LevelDB.swift
Cloned https://github.com/amraboelela/swiftleveldb.git
Revision (git rev-parse @):
e7b910ad197bc8a0dcc8899c1598f60ed2551573
SUCCESS checkout https://github.com/amraboelela/swiftleveldb.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/amraboelela/swiftleveldb.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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb from cache (0.35s)
Creating working copy for https://github.com/amraboelela/amrleveldb
Working copy of https://github.com/amraboelela/amrleveldb resolved at master (9595254)
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:45:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
45 | char *lockStr = "/LOCK";
| ^
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:79:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
79 | delete db;
| ^ ~~
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:166:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
166 | delete iter;
| ^ ~~~~
3 warnings generated.
[1/3] Write swift-version--11D90AFD9DD3AB2.txt
[2/3] Compiling CLevelDB LevelDBWrapper.cc
[4/14] Compiling SwiftLevelDB Logger.swift
[5/15] Compiling SwiftLevelDB String.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/Extensions/String.swift:42:76: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#DeprecatedDeclaration]
40 |
41 | var cString: UnsafeMutablePointer<Int8> {
42 | return UnsafeMutablePointer<Int8>(mutating: NSString(string: self).utf8String)!
| `- warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#DeprecatedDeclaration]
43 | }
44 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/15] Compiling SwiftLevelDB Task.swift
[7/15] Compiling SwiftLevelDB Date.swift
[8/15] Compiling SwiftLevelDB Dictionary.swift
[9/15] Compiling SwiftLevelDB DispatchQueue.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/Extensions/DispatchQueue.swift:19:20: error: cannot find '__dispatch_queue_get_label' in scope
17 | return ""
18 | #else
19 | let name = __dispatch_queue_get_label(nil)
| `- error: cannot find '__dispatch_queue_get_label' in scope
20 | let result = String(cString: name, encoding: .utf8)
21 | //logger.log("currentQueueName: result: \(result ?? "")")
/host/spi-builder-workspace/Sources/SwiftLevelDB/Extensions/DispatchQueue.swift:19:47: error: 'nil' requires a contextual type
17 | return ""
18 | #else
19 | let name = __dispatch_queue_get_label(nil)
| `- error: 'nil' requires a contextual type
20 | let result = String(cString: name, encoding: .utf8)
21 | //logger.log("currentQueueName: result: \(result ?? "")")
[10/15] Compiling SwiftLevelDB NSObject.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/Extensions/DispatchQueue.swift:19:20: error: cannot find '__dispatch_queue_get_label' in scope
17 | return ""
18 | #else
19 | let name = __dispatch_queue_get_label(nil)
| `- error: cannot find '__dispatch_queue_get_label' in scope
20 | let result = String(cString: name, encoding: .utf8)
21 | //logger.log("currentQueueName: result: \(result ?? "")")
/host/spi-builder-workspace/Sources/SwiftLevelDB/Extensions/DispatchQueue.swift:19:47: error: 'nil' requires a contextual type
17 | return ""
18 | #else
19 | let name = __dispatch_queue_get_label(nil)
| `- error: 'nil' requires a contextual type
20 | let result = String(cString: name, encoding: .utf8)
21 | //logger.log("currentQueueName: result: \(result ?? "")")
[11/15] Emitting module SwiftLevelDB
[12/15] Compiling SwiftLevelDB Array.swift
[13/15] Compiling SwiftLevelDB Data.swift
[14/15] Compiling SwiftLevelDB LevelDB.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:476:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
474 | if let data = self.encoder(key, newData) {
475 | var localData = data
476 | localData.withUnsafeMutableBytes { (mutableBytes: UnsafeMutablePointer<UInt8>) -> () in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
477 | status = levelDBItemPut(db, key.cString, key.count, mutableBytes, data.count)
478 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/15] Compiling SwiftLevelDB Shell.swift
BUILD FAILURE 6.2 android