Build Information
Successful build of TweetNacl, reference master (92375f), with Swift 6.1 for macOS (SPM) on 10 Dec 2025 07:21:52 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/tweetnacl-swiftwrap.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pusher/tweetnacl-swiftwrap.git
https://github.com/pusher/tweetnacl-swiftwrap.git
{
"dependencies" : [
],
"manifest_display_name" : "TweetNacl",
"name" : "TweetNacl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TweetNacl",
"targets" : [
"TweetNacl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TweetNaclTests",
"module_type" : "SwiftTarget",
"name" : "TweetNaclTests",
"path" : "Tests/TweetNaclTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/BoxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/ScalarMultiTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SecretboxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SignTestData.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"NaclBox_Tests.swift",
"NaclScalarMulti_Tests.swift",
"NaclSecretbox_Tests.swift",
"NaclSign_Tests.swift"
],
"target_dependencies" : [
"TweetNacl"
],
"type" : "test"
},
{
"c99name" : "TweetNacl",
"module_type" : "SwiftTarget",
"name" : "TweetNacl",
"path" : "Sources/TweetNacl",
"product_memberships" : [
"TweetNacl"
],
"sources" : [
"Constant.swift",
"TweetNacl.swift"
],
"target_dependencies" : [
"CTweetNacl"
],
"type" : "library"
},
{
"c99name" : "CTweetNacl",
"module_type" : "ClangTarget",
"name" : "CTweetNacl",
"path" : "Sources/CTweetNacl",
"product_memberships" : [
"TweetNacl"
],
"sources" : [
"ctweetnacl.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Compiling CTweetNacl ctweetnacl.c
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/6] Compiling TweetNacl Constant.swift
[5/6] Emitting module TweetNacl
[6/6] Compiling TweetNacl TweetNacl.swift
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:63:33: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
61 |
62 | var randomData = Data(count: count)
63 | let result = randomData.withUnsafeMutableBytes {
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
64 | return SecRandomCopyBytes(kSecRandomDefault, count, $0)
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:77:22: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
78 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
79 | return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:78:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
79 | return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
80 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:99:19: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
100 | return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
101 | return crypto_verify_32_tweet(xPointer, yPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:100:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
101 | return crypto_verify_32_tweet(xPointer, yPointer)
102 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:121:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
122 | return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
123 | return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:122:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
123 | return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
124 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:145:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
146 | return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
147 | return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:146:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
147 | return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
148 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
177 | return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
178 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
178 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
179 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:178:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
179 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
180 | return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:179:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
180 | return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
181 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
202 | return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
203 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
203 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
204 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:203:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
204 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
205 | return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:204:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
205 | return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
206 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
240 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
241 | return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:240:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
241 | return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
242 | return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:241:26: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
242 | return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
243 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:261:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
262 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
263 | return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:262:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
263 | return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
264 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
296 | return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
297 | return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:296:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
297 | return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
298 | return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:297:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
298 | return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
299 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:36: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
350 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
351 | return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:350:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
351 | return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
352 | return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:351:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
352 | return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
353 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:26: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
373 | return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
374 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:373:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
374 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
375 | return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:374:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
375 | return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
376 | })
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
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
414 | return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
415 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:414:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
415 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
416 | return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/Users/admin/builder/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:415:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
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
416 | return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
417 | })
Build complete! (4.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TweetNacl",
"name" : "TweetNacl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TweetNacl",
"targets" : [
"TweetNacl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TweetNaclTests",
"module_type" : "SwiftTarget",
"name" : "TweetNaclTests",
"path" : "Tests/TweetNaclTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/BoxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/ScalarMultiTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SecretboxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TweetNaclTests/SignTestData.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"NaclBox_Tests.swift",
"NaclScalarMulti_Tests.swift",
"NaclSecretbox_Tests.swift",
"NaclSign_Tests.swift"
],
"target_dependencies" : [
"TweetNacl"
],
"type" : "test"
},
{
"c99name" : "TweetNacl",
"module_type" : "SwiftTarget",
"name" : "TweetNacl",
"path" : "Sources/TweetNacl",
"product_memberships" : [
"TweetNacl"
],
"sources" : [
"Constant.swift",
"TweetNacl.swift"
],
"target_dependencies" : [
"CTweetNacl"
],
"type" : "library"
},
{
"c99name" : "CTweetNacl",
"module_type" : "ClangTarget",
"name" : "CTweetNacl",
"path" : "Sources/CTweetNacl",
"product_memberships" : [
"TweetNacl"
],
"sources" : [
"ctweetnacl.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.