Build Information
Successful build of TweetNacl, reference 1.3.0 (10a144), with Swift 6.4 for macOS (SPM) on 4 Oct 2026 03:51:55 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/tweetnacl-swiftwrap.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pusher/tweetnacl-swiftwrap
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 10a1444 Merge pull request #2 from pusher/bump-ios-minimum-to-15
Cloned https://github.com/pusher/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
10a1444a65e056ec4e00d4ae7db62e4d88b1c5b6
SUCCESS checkout https://github.com/pusher/tweetnacl-swiftwrap.git at 1.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/pusher/tweetnacl-swiftwrap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 125]
[Planning deferred tasks]
[37 / 50] TweetNacl_TweetNaclTests
[38 / 50]
[41 / 51] CTweetNacl
[42 / 51] TweetNacl
[53 / 89]
[58 / 89]
[61 / 89]
[62 / 89]
[66 / 89]
[68 / 89]
[71 / 89]
[74 / 89]
[76 / 89]
[77 / 89]
[80 / 89] TweetNacl
[86 / 89] TweetNacl
Build complete! (6.98 sec)
[1m/Users/admin/builder/spi-builder-workspace/Sources/CTweetNacl/ctweetnacl.c:409:18: [0m[0;1;35mwarning: [0m[1mimplicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32][0m
409 | sel25519(a,b,r);[0m
| [0;1;32m ~~~~~~~~ ^
[0m[1m/Users/admin/builder/spi-builder-workspace/Sources/CTweetNacl/ctweetnacl.c:410:18: [0m[0;1;35mwarning: [0m[1mimplicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32][0m
410 | sel25519(c,d,r);[0m
| [0;1;32m ~~~~~~~~ ^
[0m[1m/Users/admin/builder/spi-builder-workspace/Sources/CTweetNacl/ctweetnacl.c:429:18: [0m[0;1;35mwarning: [0m[1mimplicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32][0m
429 | sel25519(a,b,r);[0m
| [0;1;32m ~~~~~~~~ ^
[0m[1m/Users/admin/builder/spi-builder-workspace/Sources/CTweetNacl/ctweetnacl.c:430:18: [0m[0;1;35mwarning: [0m[1mimplicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32][0m
430 | sel25519(c,d,r);[0m
| [0;1;32m ~~~~~~~~ ^
[0m[1m/Users/admin/builder/spi-builder-workspace/Sources/CTweetNacl/ctweetnacl.c:547:10: [0m[0;1;35mwarning: [0m[1mimplicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32][0m
547 | [0;34mreturn[0m n;[0m
| [0;1;32m ~~~~~~ ^
[0m5 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:63:33: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m61 |[0;0m
[0;36m62 |[0;0m var randomData = Data(count: count)
[0;36m63 |[0;0m let result = randomData.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m64 |[0;0m return SecRandomCopyBytes(kSecRandomDefault, count, $0)
[0;36m65 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:77:22: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m75 |[0;0m public static func hash(message: Data) throws -> Data {
[0;36m76 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m77 |[0;0m let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m78 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m79 |[0;0m return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:78:28: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m76 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m77 |[0;0m let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m78 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m79 |[0;0m return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
[0;36m80 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:99:19: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[0;36m99 |[0;0m let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m100 |[0;0m return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m101 |[0;0m return crypto_verify_32_tweet(xPointer, yPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:100:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m98 |[0;0m
[0;36m99 |[0;0m let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m100 |[0;0m return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m101 |[0;0m return crypto_verify_32_tweet(xPointer, yPointer)
[0;36m102 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:121:25: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m var pk = Data(count: Constants.Box.secretKeyBytes)
[0;36m120 |[0;0m
[0;36m121 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m122 |[0;0m return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m123 |[0;0m return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:122:23: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m120 |[0;0m
[0;36m121 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m122 |[0;0m return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m123 |[0;0m return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
[0;36m124 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:145:25: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m143 |[0;0m sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
[0;36m144 |[0;0m
[0;36m145 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m146 |[0;0m return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m147 |[0;0m return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:146:23: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m144 |[0;0m
[0;36m145 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m146 |[0;0m return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
[0;36m148 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m174 |[0;0m var c = Data(count: m.count)
[0;36m175 |[0;0m
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m175 |[0;0m
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:178:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m180 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:179:32: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m180 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
[0;36m181 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m199 |[0;0m var m = Data(count: c.count)
[0;36m200 |[0;0m
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m200 |[0;0m
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:203:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m205 |[0;0m 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: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m205 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
[0;36m206 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m237 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m238 |[0;0m
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:240:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m238 |[0;0m
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m242 |[0;0m return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:241:26: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m242 |[0;0m return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
[0;36m243 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:261:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m259 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m260 |[0;0m
[0;36m261 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m262 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m263 |[0;0m return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:262:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m260 |[0;0m
[0;36m261 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m262 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m263 |[0;0m return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
[0;36m264 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m293 |[0;0m var k = Data(count: Constants.Box.beforeNMBytes)
[0;36m294 |[0;0m
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:296:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m294 |[0;0m
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m298 |[0;0m return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:297:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m298 |[0;0m return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
[0;36m299 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:36: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m347 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m348 |[0;0m
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:350:28: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m348 |[0;0m
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m352 |[0;0m return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:351:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m352 |[0;0m return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
[0;36m353 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:26: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m370 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m371 |[0;0m
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:373:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m371 |[0;0m
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m375 |[0;0m 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: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m375 |[0;0m return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
[0;36m376 |[0;0m })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m411 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m412 |[0;0m
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:414:23: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m412 |[0;0m
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m416 |[0;0m 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: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m416 |[0;0m return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
[0;36m417 |[0;0m })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TweetNacl",
"name" : "TweetNacl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.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.