Build Information
Successful build of SwiftLevelDB, reference master (e7b910), with Swift 6.2 for Linux on 15 May 2026 17:27:02 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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb from cache (0.36s)
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-24593BA9C3E375BF.txt
[2/3] Compiling CLevelDB LevelDBWrapper.cc
[4/14] Compiling SwiftLevelDB Logger.swift
[5/15] Compiling SwiftLevelDB Date.swift
[6/15] Compiling SwiftLevelDB Dictionary.swift
[7/15] Compiling SwiftLevelDB DispatchQueue.swift
[8/15] Compiling SwiftLevelDB NSObject.swift
[9/15] Emitting module SwiftLevelDB
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:111:50: warning: actor-isolated property 'dbPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public var dbPath: String {
| `- note: property declared here
59 | return parentPath + "/" + name
60 | }
:
109 | #if os(Linux)
110 | do {
111 | let dirpath = NSURL(fileURLWithPath:dbPath).deletingLastPathComponent?.path ?? ""
| `- warning: actor-isolated property 'dbPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | //NSLog("LevelDB dirpath: \(dirpath)")
113 | let fileManager = FileManager.default
[10/15] Compiling SwiftLevelDB Array.swift
[11/15] Compiling SwiftLevelDB Data.swift
[12/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>
[13/15] Compiling SwiftLevelDB Task.swift
[14/15] Compiling SwiftLevelDB LevelDB.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:111:50: warning: actor-isolated property 'dbPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public var dbPath: String {
| `- note: property declared here
59 | return parentPath + "/" + name
60 | }
:
109 | #if os(Linux)
110 | do {
111 | let dirpath = NSURL(fileURLWithPath:dbPath).deletingLastPathComponent?.path ?? ""
| `- warning: actor-isolated property 'dbPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | //NSLog("LevelDB dirpath: \(dirpath)")
113 | let fileManager = FileManager.default
/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 complete! (27.00s)
Build complete.
{
"dependencies" : [
{
"identity" : "amrleveldb",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/amraboelela/amrleveldb"
}
],
"manifest_display_name" : "SwiftLevelDB",
"name" : "SwiftLevelDB",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftLevelDB",
"targets" : [
"SwiftLevelDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLevelDBTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLevelDBTests",
"path" : "Tests/SwiftLevelDBTests",
"sources" : [
"ArrayTests.swift",
"DataTests.swift",
"DateTests.swift",
"LevelDBTests.swift",
"ShellTests.swift",
"StringTests.swift",
"TestsBase.swift"
],
"target_dependencies" : [
"SwiftLevelDB"
],
"type" : "test"
},
{
"c99name" : "SwiftLevelDB",
"module_type" : "SwiftTarget",
"name" : "SwiftLevelDB",
"path" : "Sources/SwiftLevelDB",
"product_memberships" : [
"SwiftLevelDB"
],
"sources" : [
"Extensions/Array.swift",
"Extensions/Data.swift",
"Extensions/Date.swift",
"Extensions/Dictionary.swift",
"Extensions/DispatchQueue.swift",
"Extensions/NSObject.swift",
"Extensions/String.swift",
"Extensions/Task.swift",
"LevelDB.swift",
"Logger.swift",
"Shell.swift"
],
"target_dependencies" : [
"CLevelDB"
],
"type" : "library"
},
{
"c99name" : "CLevelDB",
"module_type" : "ClangTarget",
"name" : "CLevelDB",
"path" : "Sources/CLevelDB",
"product_dependencies" : [
"amrleveldb"
],
"product_memberships" : [
"SwiftLevelDB"
],
"sources" : [
"LevelDBWrapper.cc"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Done.