Build Information
Successful build of TweetNacl, reference master (a7776e), with Swift 6.1 for Linux on 17 Jun 2025 17:54:20 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/bitmark-inc/tweetnacl-swiftwrap
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a7776eb Merge pull request #16 from hakanols/master
Cloned https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
a7776eb5388467ec553b855846e24438288e2da5
SUCCESS checkout https://github.com/bitmark-inc/tweetnacl-swiftwrap.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "TweetNacl",
"name" : "TweetNacl",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TweetNacl",
"targets" : [
"TweetNacl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TweetNaclTests",
"module_type" : "SwiftTarget",
"name" : "TweetNaclTests",
"path" : "Tests/TweetNaclTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/BoxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/ScalarMultiTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/SecretboxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CTweetNacl ctweetnacl.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module TweetNacl
[5/6] Compiling TweetNacl TweetNacl.swift
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:75:22: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
73 | public static func hash(message: Data) throws -> Data {
74 | var hash = Data(count: Constants.Hash.bytes)
75 | let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
76 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
77 | return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:76:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
74 | var hash = Data(count: Constants.Hash.bytes)
75 | let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
76 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
77 | return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
78 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:97:19: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
95 | }
96 |
97 | let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
98 | return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
99 | return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:98:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
96 |
97 | let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
98 | return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
99 | return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
100 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:119:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
117 | var pk = Data(count: Constants.Box.secretKeyBytes)
118 |
119 | let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
120 | return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
121 | return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:120:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
118 |
119 | let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
120 | return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
121 | return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
122 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:143:25: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
141 | sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
142 |
143 | let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
144 | return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
145 | return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:144:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
142 |
143 | let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
144 | return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
145 | return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
146 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:174:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
172 | var c = Data(count: m.count)
173 |
174 | let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
175 | return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:175:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
173 |
174 | let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
175 | return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
176 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
177 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
174 | let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
175 | return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
177 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
178 | return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
175 | return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
176 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
177 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
178 | return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
179 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:199:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
197 | var m = Data(count: c.count)
198 |
199 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
200 | return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:200:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
198 |
199 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
200 | return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
201 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
202 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
199 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
200 | return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
202 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
203 | return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:32: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
200 | return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
201 | return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
202 | return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
203 | return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
204 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:237:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
235 | var q = Data(count: Constants.Scalarmult.bytes)
236 |
237 | let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
238 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
239 | return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:238:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
236 |
237 | let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
238 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
239 | return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
240 | return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:26: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
237 | let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
238 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
239 | return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
240 | return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
241 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:259:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
257 | var q = Data(count: Constants.Scalarmult.bytes)
258 |
259 | let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
260 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
261 | return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:260:22: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
258 |
259 | let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
260 | return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
261 | return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
262 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:293:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
291 | var k = Data(count: Constants.Box.beforeNMBytes)
292 |
293 | let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
294 | return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
295 | return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:294:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
292 |
293 | let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
294 | return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
295 | return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
296 | return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
293 | let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
294 | return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
295 | return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
296 | return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
297 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:347:36: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
345 | let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
346 |
347 | let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
348 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
349 | return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:348:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
346 |
347 | let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
348 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
349 | return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
350 | return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
347 | let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
348 | return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
349 | return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
350 | return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
351 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:370:26: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
368 | let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
369 |
370 | let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
371 | return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
372 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:371:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
369 |
370 | let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
371 | return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
372 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
373 | return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
370 | let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
371 | return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
372 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
373 | return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
374 | })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:411:24: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
409 | let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
410 |
411 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
412 | return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
413 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:412:23: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
410 |
411 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
412 | return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
413 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
414 | return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
411 | let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
412 | return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
413 | return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
414 | return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
415 | })
[6/6] Compiling TweetNacl Constant.swift
Build complete! (5.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TweetNacl",
"name" : "TweetNacl",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TweetNacl",
"targets" : [
"TweetNacl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TweetNaclTests",
"module_type" : "SwiftTarget",
"name" : "TweetNaclTests",
"path" : "Tests/TweetNaclTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/BoxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/ScalarMultiTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TweetNaclTests/SecretboxTestData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.