The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetNacl, reference master (a7776e), with Swift 6.2 for Android on 17 Jun 2025 18:47:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /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 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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[2/3] Compiling CTweetNacl ctweetnacl.c
[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:62:20: error: cannot find 'SecRandomCopyBytes' in scope
 60 |         var randomData = Data(count: count)
 61 |         let result = randomData.withUnsafeMutableBytes {
 62 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
    |                    `- error: cannot find 'SecRandomCopyBytes' in scope
 63 |         }
 64 |         guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:62:39: error: cannot find 'kSecRandomDefault' in scope
 60 |         var randomData = Data(count: count)
 61 |         let result = randomData.withUnsafeMutableBytes {
 62 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
    |                                       `- error: cannot find 'kSecRandomDefault' in scope
 63 |         }
 64 |         guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:64:25: error: cannot find 'errSecSuccess' in scope
 62 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
 63 |         }
 64 |         guard result == errSecSuccess else {
    |                         `- error: cannot find 'errSecSuccess' in scope
 65 |             throw NaclUtilError.internalError
 66 |         }
/host/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))
/host/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 |             })
/host/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)
/host/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 |             })
/host/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)
/host/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 |             })
/host/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)
/host/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 |             })
/host/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
/host/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
/host/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)
/host/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 |                     })
/host/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
/host/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
/host/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)
/host/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 |                     })
/host/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
/host/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)
/host/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 |                 })
/host/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)
/host/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 |             })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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>
BUILD FAILURE 6.2 android