The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftLevelDB with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
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 58d9b34 Update LevelDB.swift
Cloned https://github.com/amraboelela/swiftleveldb.git
Revision (git rev-parse @):
58d9b348072eae4819c7465c372e071351e8e988
SUCCESS checkout https://github.com/amraboelela/swiftleveldb.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
https://github.com/amraboelela/swiftleveldb.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb (0.22s)
Creating working copy for https://github.com/amraboelela/amrleveldb
Working copy of https://github.com/amraboelela/amrleveldb resolved at master
Building for debugging...
/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]
        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]
    delete db;
    ^      ~~
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:166:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
    delete iter;
    ^      ~~~~
3 warnings generated.
[0/1] Compiling CLevelDB LevelDBWrapper.cc
[2/12] Compiling SwiftLevelDB Logger.swift
[3/13] Compiling SwiftLevelDB String.swift
[4/13] Compiling SwiftLevelDB Shell.swift
[5/13] Compiling SwiftLevelDB Task.swift
[6/13] Compiling SwiftLevelDB LevelDB.swift
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:107:50: warning: actor-isolated property 'dbPath' can not be referenced from a non-isolated context; this is an error in Swift 6
            let dirpath =  NSURL(fileURLWithPath:dbPath).deletingLastPathComponent?.path ?? ""
                                                 ^
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:54:16: note: property declared here
    public var dbPath: String {
               ^
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:477:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
            localData.withUnsafeMutableBytes { (mutableBytes: UnsafeMutablePointer<UInt8>) -> () in
                      ^
[7/13] Emitting module SwiftLevelDB
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:107:50: warning: actor-isolated property 'dbPath' can not be referenced from a non-isolated context; this is an error in Swift 6
            let dirpath =  NSURL(fileURLWithPath:dbPath).deletingLastPathComponent?.path ?? ""
                                                 ^
/host/spi-builder-workspace/Sources/SwiftLevelDB/LevelDB.swift:54:16: note: property declared here
    public var dbPath: String {
               ^
[8/13] Compiling SwiftLevelDB DispatchQueue.swift
[9/13] Compiling SwiftLevelDB NSObject.swift
[10/13] Compiling SwiftLevelDB Date.swift
[11/13] Compiling SwiftLevelDB Dictionary.swift
[12/13] Compiling SwiftLevelDB Array.swift
[13/13] Compiling SwiftLevelDB Data.swift
Build complete! (7.77s)
Build complete.
Done.

Build Machine: Linux 1