The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TweetNacl, reference 1.2.0 (92375f), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 18:33:49 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/tweetnacl-swiftwrap.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pusher/tweetnacl-swiftwrap
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 92375f8 Fix C/Swift interop for CocoaPods that makes the build fail
Cloned https://github.com/pusher/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
92375f83c3af1b8af011d3c0af1001929844b936
SUCCESS checkout https://github.com/pusher/tweetnacl-swiftwrap.git at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "tweetnacl-swiftwrap",
      "name": "TweetNacl",
      "url": "https://github.com/pusher/tweetnacl-swiftwrap.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tweetnacl-swiftwrap",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pusher/tweetnacl-swiftwrap.git
[1/405] Fetching tweetnacl-swiftwrap
Fetched https://github.com/pusher/tweetnacl-swiftwrap.git from cache (1.12s)
Creating working copy for https://github.com/pusher/tweetnacl-swiftwrap.git
Working copy of https://github.com/pusher/tweetnacl-swiftwrap.git resolved at 1.2.0 (92375f8)
warning: '.resolve-product-dependencies': dependency 'tweetnacl-swiftwrap' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pusher/tweetnacl-swiftwrap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling CTweetNacl ctweetnacl.c
[2/3] Write swift-version--6988338F2F200930.txt
[4/6] Compiling TweetNacl Constant.swift
[5/6] Compiling TweetNacl TweetNacl.swift
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:63:33: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 61 |
 62 |         var randomData = Data(count: count)
 63 |         let result = randomData.withUnsafeMutableBytes {
    |                                 `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 64 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
 65 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:77:22: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 75 |     public static func hash(message: Data) throws -> Data {
 76 |         var hash = Data(count: Constants.Hash.bytes)
 77 |         let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 78 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
 79 |                 return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:78:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 76 |         var hash = Data(count: Constants.Hash.bytes)
 77 |         let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
 78 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 79 |                 return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
 80 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:99:19: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 97 |         }
 98 |
 99 |         let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
    |                   `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
100 |             return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
101 |                 return crypto_verify_32_tweet(xPointer, yPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:100:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 98 |
 99 |         let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
100 |             return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
101 |                 return crypto_verify_32_tweet(xPointer, yPointer)
102 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:121:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
119 |         var pk = Data(count: Constants.Box.secretKeyBytes)
120 |
121 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                         `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
122 |             return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
123 |                 return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:122:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
120 |
121 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
122 |             return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
123 |                 return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
124 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:145:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
143 |         sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
144 |
145 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                         `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
146 |             return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
147 |                 return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:146:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
144 |
145 |         let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
146 |             return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
147 |                 return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
148 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
174 |         var c = Data(count: m.count)
175 |
176 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
177 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
178 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
175 |
176 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
177 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
178 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
179 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:178:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
176 |         let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
177 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
178 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
179 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
180 |                         return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:179:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
177 |             return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
178 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
179 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
180 |                         return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
181 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
199 |         var m = Data(count: c.count)
200 |
201 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
202 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
203 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
200 |
201 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
202 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
203 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
204 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:203:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
201 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
202 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
203 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
204 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
205 |                         return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:204:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
202 |             return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
203 |                 return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
204 |                     return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
205 |                         return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
206 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
237 |         var q = Data(count: Constants.Scalarmult.bytes)
238 |
239 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
240 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
241 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:240:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
238 |
239 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
240 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
241 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
242 |                     return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:241:26: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
239 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
240 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
241 |                 return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
    |                          `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
242 |                     return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
243 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:261:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
259 |         var q = Data(count: Constants.Scalarmult.bytes)
260 |
261 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
262 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
263 |                 return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:262:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
260 |
261 |         let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
262 |             return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
    |                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
263 |                 return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
264 |             })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
293 |         var k = Data(count: Constants.Box.beforeNMBytes)
294 |
295 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
296 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
297 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:296:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
294 |
295 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
296 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
297 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
298 |                     return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:297:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
295 |         let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
296 |             return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
297 |                 return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
298 |                     return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
299 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:36: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
347 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
348 |
349 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                                    `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
350 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
351 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:350:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
348 |
349 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
350 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
351 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
352 |                     return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:351:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
349 |         let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
350 |             return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
351 |                 return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
352 |                     return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
353 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:26: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
370 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
371 |
372 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                          `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
373 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
374 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:373:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
371 |
372 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
373 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
374 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
375 |                     return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:374:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
372 |         let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
373 |             return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
374 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
375 |                     return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
376 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
411 |         let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
412 |
413 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
    |                        `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
414 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
415 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:414:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
412 |
413 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
414 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
    |                       `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
415 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
416 |                     return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:415:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
413 |         let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
414 |             return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
415 |                 return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
416 |                     return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
417 |                 })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/6] Emitting module TweetNacl
Build complete! (3.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TweetNacl",
  "name" : "TweetNacl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "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.