Build Information
Failed to build TweetNacl, reference 1.3.0 (10a144), with Swift 6.4 for Wasm on 4 Oct 2026 03:44:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/tweetnacl-swiftwrap.git
Reference: 1.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pusher/tweetnacl-swiftwrap
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 10a1444 Merge pull request #2 from pusher/bump-ios-minimum-to-15
Cloned https://github.com/pusher/tweetnacl-swiftwrap.git
Revision (git rev-parse @):
10a1444a65e056ec4e00d4ae7db62e4d88b1c5b6
SUCCESS checkout https://github.com/pusher/tweetnacl-swiftwrap.git at 1.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/pusher/tweetnacl-swiftwrap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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...
[Constructing description]
[Planning deferred tasks]
[20 / 38] CTweetNacl
[33 / 42] CTweetNacl
[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:64:20: [1;31merror: [1;39mcannot find 'SecRandomCopyBytes' in scope[0;0m
[0;36m62 |[0;0m var randomData = Data(count: count)
[0;36m63 |[0;0m let result = randomData.withUnsafeMutableBytes {
[0;36m64 |[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;36m65 |[0;0m }
[0;36m66 |[0;0m guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:64:39: [1;31merror: [1;39mcannot find 'kSecRandomDefault' in scope[0;0m
[0;36m62 |[0;0m var randomData = Data(count: count)
[0;36m63 |[0;0m let result = randomData.withUnsafeMutableBytes {
[0;36m64 |[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;36m65 |[0;0m }
[0;36m66 |[0;0m guard result == errSecSuccess else {
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:66:25: [1;31merror: [1;39mcannot find 'errSecSuccess' in scope[0;0m
[0;36m64 |[0;0m return SecRandomCopyBytes(kSecRandomDefault, count, $0)
[0;36m65 |[0;0m }
[0;36m66 |[0;0m guard result == [4;39merrSecSuccess[0;0m else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errSecSuccess' in scope[0;0m
[0;36m67 |[0;0m throw NaclUtilError.internalError
[0;36m68 |[0;0m }
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:77:22: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m75 |[0;0m public static func hash(message: Data) throws -> Data {
[0;36m76 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m77 |[0;0m let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m78 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m79 |[0;0m return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:78:28: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m76 |[0;0m var hash = Data(count: Constants.Hash.bytes)
[0;36m77 |[0;0m let r = hash.withUnsafeMutableBytes { (hashPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m78 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m79 |[0;0m return crypto_hash_sha512_tweet(hashPointer, messagePointer, UInt64(message.count))
[0;36m80 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:99:19: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[0;36m99 |[0;0m let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m100 |[0;0m return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m101 |[0;0m return crypto_verify_32_tweet(xPointer, yPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:100:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m98 |[0;0m
[0;36m99 |[0;0m let r = x.withUnsafeBytes { (xPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m100 |[0;0m return y.withUnsafeBytes({ (yPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m101 |[0;0m return crypto_verify_32_tweet(xPointer, yPointer)
[0;36m102 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:121:25: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m var pk = Data(count: Constants.Box.secretKeyBytes)
[0;36m120 |[0;0m
[0;36m121 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m122 |[0;0m return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m123 |[0;0m return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:122:23: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m120 |[0;0m
[0;36m121 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m122 |[0;0m return sk.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m123 |[0;0m return crypto_scalarmult_curve25519_tweet_base(pkPointer, skPointer)
[0;36m124 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:145:25: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m143 |[0;0m sk.replaceSubrange(0..<Constants.Sign.publicKeyBytes, with: secretKey.subdata(in: 0..<Constants.Sign.publicKeyBytes))
[0;36m144 |[0;0m
[0;36m145 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m146 |[0;0m return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m147 |[0;0m return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:146:23: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m144 |[0;0m
[0;36m145 |[0;0m let result = pk.withUnsafeMutableBytes({ (pkPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m146 |[0;0m return sk.withUnsafeMutableBytes({ (skPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m return crypto_sign_ed25519_tweet_keypair(pkPointer, skPointer)
[0;36m148 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:176:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m174 |[0;0m var c = Data(count: m.count)
[0;36m175 |[0;0m
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:177:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m175 |[0;0m
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:178:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m176 |[0;0m let result = c.withUnsafeMutableBytes { (cPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m180 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:179:32: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m177 |[0;0m return m.withUnsafeBytes({ (mPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m178 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m179 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m180 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet(cPointer, mPointer, UInt64(m.count), noncePointer, keyPointer)
[0;36m181 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:201:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m199 |[0;0m var m = Data(count: c.count)
[0;36m200 |[0;0m
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:202:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m200 |[0;0m
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:203:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m201 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m205 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:204:32: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m202 |[0;0m return c.withUnsafeBytes({ (cPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m203 |[0;0m return nonce.withUnsafeBytes({ (noncePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m204 |[0;0m return key.withUnsafeBytes({ (keyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m205 |[0;0m return crypto_secretbox_xsalsa20poly1305_tweet_open(mPointer, cPointer, UInt64(c.count), noncePointer, keyPointer)
[0;36m206 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:239:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m237 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m238 |[0;0m
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:240:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m238 |[0;0m
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m242 |[0;0m return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:241:26: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m239 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m240 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m241 |[0;0m return p.withUnsafeBytes({ (pPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m242 |[0;0m return crypto_scalarmult_curve25519_tweet(qPointer, nPointer, pPointer)
[0;36m243 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:261:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m259 |[0;0m var q = Data(count: Constants.Scalarmult.bytes)
[0;36m260 |[0;0m
[0;36m261 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m262 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m263 |[0;0m return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:262:22: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m260 |[0;0m
[0;36m261 |[0;0m let result = q.withUnsafeMutableBytes { (qPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m262 |[0;0m return n.withUnsafeBytes({ (nPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m263 |[0;0m return crypto_scalarmult_curve25519_tweet_base(qPointer, nPointer)
[0;36m264 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:295:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m293 |[0;0m var k = Data(count: Constants.Box.beforeNMBytes)
[0;36m294 |[0;0m
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:296:30: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m294 |[0;0m
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m298 |[0;0m return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:297:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m295 |[0;0m let result = k.withUnsafeMutableBytes { (kPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m296 |[0;0m return publicKey.withUnsafeBytes({ (pkPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m297 |[0;0m return secretKey.withUnsafeBytes({ (skPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m298 |[0;0m return crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(kPointer, pkPointer, skPointer)
[0;36m299 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:349:36: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m347 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m348 |[0;0m
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:350:28: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m348 |[0;0m
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m352 |[0;0m return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:351:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m349 |[0;0m let result = signedMessage.withUnsafeMutableBytes { (signedMessagePointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m350 |[0;0m return message.withUnsafeBytes({ (messagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m351 |[0;0m return secretKey.withUnsafeBytes({ (secretKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m352 |[0;0m return crypto_sign_ed25519_tweet(signedMessagePointer, tmpLength, messagePointer, UInt64(message.count), secretKeyPointer)
[0;36m353 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:372:26: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m370 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m371 |[0;0m
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:373:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m371 |[0;0m
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m375 |[0;0m return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:374:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m372 |[0;0m let result = tmp.withUnsafeMutableBytes { (tmpPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m373 |[0;0m return signedMessage.withUnsafeBytes({ (signMessagePointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m374 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m375 |[0;0m return crypto_sign_ed25519_tweet_open(tmpPointer, tmpLength, signMessagePointer, UInt64(signedMessage.count), publicKeyPointer)
[0;36m376 |[0;0m })
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:413:24: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m411 |[0;0m let tmpLength = UnsafeMutablePointer<UInt64>.allocate(capacity: 1)
[0;36m412 |[0;0m
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:414:23: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m412 |[0;0m
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m416 |[0;0m return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
/host/spi-builder-workspace/Sources/TweetNacl/TweetNacl.swift:415:34: [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m413 |[0;0m let result = m.withUnsafeMutableBytes { (mPointer: UnsafeMutablePointer<UInt8>) -> Int32 in
[0;36m414 |[0;0m return sm.withUnsafeBytes({ (smPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m415 |[0;0m return publicKey.withUnsafeBytes({ (publicKeyPointer: UnsafePointer<UInt8>) -> Int32 in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m416 |[0;0m return crypto_sign_ed25519_tweet_open(mPointer, tmpLength, smPointer, UInt64(sm.count), publicKeyPointer)
[0;36m417 |[0;0m })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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