Build Information
Failed to build TweetNacl, reference master (a7776e), with Swift 6.4 for Wasm on 18 Sep 2026 02:01:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/bitmark-inc/tweetnacl-swiftwrap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 125]
[20 / 38] TweetNacl
[34 / 42] TweetNacl
[39 / 42] TweetNacl
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile TweetNacl.swift
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:62:20: [1;31merror: [1;39mcannot find 'SecRandomCopyBytes' in scope[0;0m
[0;36m60 |[0;0m var randomData = Data(count: count)
[0;36m61 |[0;0m let result = randomData.withUnsafeMutableBytes {
[0;36m62 |[0;0m return [4;39mSecRandomCopyBytes[0;0m(kSecRandomDefault, count, $0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SecRandomCopyBytes' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:62:39: [1;31merror: [1;39mcannot find 'kSecRandomDefault' in scope[0;0m
[0;36m60 |[0;0m var randomData = Data(count: count)
[0;36m61 |[0;0m let result = randomData.withUnsafeMutableBytes {
[0;36m62 |[0;0m return SecRandomCopyBytes([4;39mkSecRandomDefault[0;0m, count, $0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kSecRandomDefault' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:64:25: [1;31merror: [1;39mcannot find 'errSecSuccess' in scope[0;0m
[0;36m62 |[0;0m return SecRandomCopyBytes(kSecRandomDefault, count, $0)
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard result == [4;39merrSecSuccess[0;0m else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errSecSuccess' in scope[0;0m
[0;36m65 |[0;0m throw NaclUtilError.internalError
[0;36m66 |[0;0m }
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:75: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;36m73 |[0;0m public static func hash(message: Data) throws -> Data {
[0;36m74 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m75 |[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;36m76 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m77 |[0;0m return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:76: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;36m74 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m75 |[0;0m let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m76 |[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;36m77 |[0;0m return CTweetNacl.crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
[0;36m78 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:97: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;36m95 |[0;0m }
[0;36m96 |[0;0m
[0;36m97 |[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;36m98 |[0;0m return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m99 |[0;0m return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:98: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;36m96 |[0;0m
[0;36m97 |[0;0m let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m98 |[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;36m99 |[0;0m return CTweetNacl.crypto_verify_32_tweet(xPointer, yPointer)
[0;36m100 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:119: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;36m117 |[0;0m var pk = Data(count: Constants.Box.secretKeyBytes)
[0;36m118 |[0;0m
[0;36m119 |[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;36m120 |[0;0m return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m121 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:120: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;36m118 |[0;0m
[0;36m119 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m120 |[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;36m121 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
[0;36m122 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:143: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;36m141 |[0;0m sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
[0;36m142 |[0;0m
[0;36m143 |[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;36m144 |[0;0m return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m145 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:144: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;36m142 |[0;0m
[0;36m143 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m144 |[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;36m145 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
[0;36m146 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:174: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;36m172 |[0;0m var c = Data(count: m.count)
[0;36m173 |[0;0m
[0;36m174 |[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;36m175 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m176 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:175: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;36m173 |[0;0m
[0;36m174 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m175 |[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;36m176 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m177 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176: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;36m174 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m175 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m176 |[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;36m177 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177: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;36m175 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m176 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m177 |[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;36m178 |[0;0m return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
[0;36m179 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:199: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;36m197 |[0;0m var m = Data(count: c.count)
[0;36m198 |[0;0m
[0;36m199 |[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;36m200 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m201 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:200: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;36m198 |[0;0m
[0;36m199 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m200 |[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;36m201 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m202 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201: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;36m199 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m200 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m201 |[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;36m202 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202: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;36m200 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m201 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m202 |[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;36m203 |[0;0m return CTweetNacl.crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
[0;36m204 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:237: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;36m235 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m236 |[0;0m
[0;36m237 |[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;36m238 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m239 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:238: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;36m236 |[0;0m
[0;36m237 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m238 |[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;36m239 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m240 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239: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;36m237 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m238 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m239 |[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;36m240 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
[0;36m241 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:259: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;36m257 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m258 |[0;0m
[0;36m259 |[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;36m260 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m261 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:260: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;36m258 |[0;0m
[0;36m259 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m260 |[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;36m261 |[0;0m return CTweetNacl.crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
[0;36m262 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:293: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;36m291 |[0;0m var k = Data(count: Constants.Box.beforeNMBytes)
[0;36m292 |[0;0m
[0;36m293 |[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;36m294 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m295 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:294: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;36m292 |[0;0m
[0;36m293 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m294 |[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;36m295 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m296 |[0;0m return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295: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;36m293 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m294 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m295 |[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;36m296 |[0;0m return CTweetNacl.crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
[0;36m297 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:347: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;36m345 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m346 |[0;0m
[0;36m347 |[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;36m348 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m349 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:348: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;36m346 |[0;0m
[0;36m347 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m348 |[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;36m349 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m350 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349: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;36m347 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m348 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m349 |[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;36m350 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
[0;36m351 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:370: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;36m368 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m369 |[0;0m
[0;36m370 |[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;36m371 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m372 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:371: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;36m369 |[0;0m
[0;36m370 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m371 |[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;36m372 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m373 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372: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;36m370 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m371 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m372 |[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;36m373 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
[0;36m374 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:411: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;36m409 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m410 |[0;0m
[0;36m411 |[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;36m412 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m413 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:412: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;36m410 |[0;0m
[0;36m411 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m412 |[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;36m413 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m414 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413: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;36m411 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m412 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m413 |[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;36m414 |[0;0m return CTweetNacl.crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
[0;36m415 |[0;0m })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/TweetNacl/Constant.swift -primary-file /host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/CTweetNacl.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/CTweetNacl/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TweetNacl -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.o -index-unit-output-path /TweetNacl.build/Debug-webassembly-wasm32/TweetNacl-t.build/Objects-normal/wasm32/TweetNacl.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm