The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetNacl, reference master (92375f), with Swift 6.3 for Android on 17 Apr 2026 18:21:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/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/pusher/tweetnacl-swiftwrap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pusher/tweetnacl-swiftwrap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CTweetNacl ctweetnacl.c
[2/3] Write swift-version--4F562202D5529B1.txt
[4/6] Emitting module TweetNacl
[5/6] Compiling TweetNacl TweetNacl.swift
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:64:20: error: cannot find 'SecRandomCopyBytes' in scope
 62 |         var randomData = Data(count: count)
 63 |         let result = randomData.withUnsafeMutableBytes {
 64 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
    |                    `- error: cannot find 'SecRandomCopyBytes' in scope
 65 |         }
 66 |         guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:64:39: error: cannot find 'kSecRandomDefault' in scope
 62 |         var randomData = Data(count: count)
 63 |         let result = randomData.withUnsafeMutableBytes {
 64 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
    |                                       `- error: cannot find 'kSecRandomDefault' in scope
 65 |         }
 66 |         guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:66:25: error: cannot find 'errSecSuccess' in scope
 64 |             return SecRandomCopyBytes(kSecRandomDefault, count, $0)
 65 |         }
 66 |         guard result == errSecSuccess else {
    |                         `- error: cannot find 'errSecSuccess' in scope
 67 |             throw NaclUtilError.internalError
 68 |         }
/host/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))
/host/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 |             })
/host/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)
/host/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 |             })
/host/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)
/host/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 |             })
/host/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)
/host/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 |             })
/host/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
/host/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
/host/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)
/host/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 |                     })
/host/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
/host/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
/host/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)
/host/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 |                     })
/host/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
/host/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)
/host/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 |                 })
/host/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)
/host/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 |             })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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 |                 })
/host/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
/host/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)
/host/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] Compiling TweetNacl Constant.swift
BUILD FAILURE 6.3 android