The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TweetNacl, reference master (a7776e), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:57:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bitmark-inc/tweetnacl-swiftwrap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a7776eb Merge pull request #16 from hakanols/master
Cloned https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
a7776eb5388467ec553b855846e24438288e2da5
SUCCESS checkout https://github.com/bitmark-inc/tweetnacl-swiftwrap.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
[2/3] Compiling CTweetNacl ctweetnacl.c
[4/6] Compiling TweetNacl TweetNacl.swift
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:61:33: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 59 |
 60 |         var randomData = Data(count: count)
 61 |         let result = randomData.withUnsafeMutableBytes {
    |                                 `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 62 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
 63 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:75:22: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 73 |     public static func hash(message: Data) throws -> Data {
 74 |         var hash = Data(count: Constants.Hash.bytes)
 75 |         let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 76 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
 77 |                 return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:76:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 74 |         var hash = Data(count: Constants.Hash.bytes)
 75 |         let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
 76 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 77 |                 return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
 78 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:97:19: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 95 |         }
 96 |
 97 |         let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
    |                   `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 98 |             return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
 99 |                 return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 96 |
 97 |         let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
 98 |             return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 99 |                 return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
100 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:119:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
117 |         var pk = Data(count: Constants.Box.secretKeyBytes)
118 |
119 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                         `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
120 |             return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
121 |                 return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:120:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
118 |
119 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
120 |             return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
121 |                 return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
122 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:143:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
141 |         sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
142 |
143 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                         `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
144 |             return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
145 |                 return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:144:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
142 |
143 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
144 |             return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
145 |                 return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
146 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:174:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
172 |         var c = Data(count: m.count)
173 |
174 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
175 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:175:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
173 |
174 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
175 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
176 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
177 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
174 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
175 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
177 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
178 |                         return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
175 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
177 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
178 |                         return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
179 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:199:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
197 |         var m = Data(count: c.count)
198 |
199 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
200 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:200:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
198 |
199 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
200 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
201 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
202 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
199 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
200 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
202 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
203 |                         return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
200 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
202 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
203 |                         return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
204 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:237:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
235 |         var q = Data(count: Constants.Scalarmult.bytes)
236 |
237 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
238 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
239 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:238:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
236 |
237 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
238 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
239 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
240 |                     return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:26: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
237 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
238 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
239 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
    |                          `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
240 |                     return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
241 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:259:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
257 |         var q = Data(count: Constants.Scalarmult.bytes)
258 |
259 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
260 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
261 |                 return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:260:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
258 |
259 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
260 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
261 |                 return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
262 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:293:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
291 |         var k = Data(count: Constants.Box.beforeNMBytes)
292 |
293 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
294 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
295 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:294:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
292 |
293 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
294 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
295 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
296 |                     return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
293 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
294 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
295 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
296 |                     return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
297 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:347:36: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
345 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
346 |
347 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                                    `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
348 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
349 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:348:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
346 |
347 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
348 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
349 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
350 |                     return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
347 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
348 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
349 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
350 |                     return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
351 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:370:26: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
368 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
369 |
370 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                          `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
371 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
372 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:371:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
369 |
370 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
371 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
372 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
373 |                     return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
370 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
371 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
372 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
373 |                     return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
374 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:411:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
409 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
410 |
411 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
412 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
413 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:412:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
410 |
411 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
412 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
413 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
414 |                     return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
411 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
412 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
413 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
414 |                     return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
415 |                 })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/6] Emitting module TweetNacl
[6/6] Compiling TweetNacl Constant.swift
Build complete! (3.62s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TweetNacl",
  "name" : "TweetNacl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TweetNacl",
      "targets" : [
        "TweetNacl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TweetNaclTests",
      "module_type" : "SwiftTarget",
      "name" : "TweetNaclTests",
      "path" : "Tests/TweetNaclTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/BoxTestData.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/ScalarMultiTestData.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SecretboxTestData.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SignTestData.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "NaclBox_Tests.swift",
        "NaclScalarMulti_Tests.swift",
        "NaclSecretbox_Tests.swift",
        "NaclSign_Tests.swift"
      ],
      "target_dependencies" : [
        "TweetNacl"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TweetNacl",
      "module_type" : "SwiftTarget",
      "name" : "TweetNacl",
      "path" : "Sources/TweetNacl",
      "product_memberships" : [
        "TweetNacl"
      ],
      "sources" : [
        "Constant.swift",
        "TweetNacl.swift"
      ],
      "target_dependencies" : [
        "CTweetNacl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CTweetNacl",
      "module_type" : "ClangTarget",
      "name" : "CTweetNacl",
      "path" : "Sources/CTweetNacl",
      "product_memberships" : [
        "TweetNacl"
      ],
      "sources" : [
        "ctweetnacl.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.