The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftLevelDB, reference master (e7b910), with Swift 6.3 for Linux on 15 May 2026 17:26:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/amraboelela/swiftleveldb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb from cache (0.31s)
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
[1/3] Write swift-version-24593BA9C3E375BF.txt
/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.
[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] 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
[8/15] Compiling SwiftLevelDB Array.swift
[9/15] Compiling SwiftLevelDB Data.swift
[10/15] Compiling SwiftLevelDB DispatchQueue.swift
[11/15] Compiling SwiftLevelDB NSObject.swift
[12/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>
[13/15] Compiling SwiftLevelDB Task.swift
[14/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>
[15/15] Compiling SwiftLevelDB Shell.swift
Build complete! (17.65s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.