The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TweetNacl with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitmark-inc/tweetnacl-swiftwrap.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/bitmark-inc/tweetnacl-swiftwrap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0433254 Merge pull request #11 from bitmark-inc/fixes/unit-test-and-spm
Cloned https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
0433254285de5d89031eb6637cb77b5a00718973
SUCCESS checkout https://github.com/bitmark-inc/tweetnacl-swiftwrap.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Write sources
[1/3] Compiling CTweetNacl ctweetnacl.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module TweetNacl
[5/6] Compiling TweetNacl Constant.swift
[6/6] Compiling TweetNacl TweetNacl.swift
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:75:22: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:76:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
                           ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:97:19: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
        let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
                  ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:119:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                        ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:120:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
                      ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:143:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                        ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:144:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
            return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                      ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:174:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:175:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
                             ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                    return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
                               ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:199:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:200:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
                             ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                    return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
                               ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:237:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:238:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:26: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
                         ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:259:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:260:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
                     ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:293:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:294:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
                             ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
                                 ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:347:36: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                                   ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:348:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
                           ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
                                 ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:370:26: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                         ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:371:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
                                 ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
                                 ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:411:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
        let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
                       ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:412:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
                      ^
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
                                 ^
Build complete! (8.29s)
Build complete.
Done.

Build Machine: Linux 1