Build Information
Successful build of SCrypto, reference master (11de70), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 12:33:11 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sgl0v/SCrypto.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sgl0v/SCrypto
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 11de700 Fixed code coverage report.
Cloned https://github.com/sgl0v/SCrypto.git
Revision (git rev-parse @):
11de70020265d863bc469636094b8580bd70eb5e
SUCCESS checkout https://github.com/sgl0v/SCrypto.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/sgl0v/SCrypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[20 / 33]
[21 / 34] SCrypto
[31 / 71]
[36 / 71]
[40 / 71]
[41 / 71]
[45 / 71]
[47 / 71]
[50 / 71]
[53 / 71]
[55 / 71]
[56 / 71]
[58 / 71] SCrypto
[66 / 71] SCrypto
[69 / 71] SCrypto-product
Build complete! (7.14 sec)
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:109:47: [1;33mwarning: [1;39m'CC_MD2' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m107 |[0;0m switch self {
[0;36m108 |[0;0m case .md2:
[0;36m109 |[0;0m return (CC_MD2_DIGEST_LENGTH, CC_MD2)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'CC_MD2' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m110 |[0;0m case .md4:
[0;36m111 |[0;0m return (CC_MD4_DIGEST_LENGTH, CC_MD4)
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:111:47: [1;33mwarning: [1;39m'CC_MD4' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m109 |[0;0m return (CC_MD2_DIGEST_LENGTH, CC_MD2)
[0;36m110 |[0;0m case .md4:
[0;36m111 |[0;0m return (CC_MD4_DIGEST_LENGTH, CC_MD4)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'CC_MD4' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m112 |[0;0m case .md5:
[0;36m113 |[0;0m return (CC_MD5_DIGEST_LENGTH, CC_MD5)
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:113:47: [1;33mwarning: [1;39m'CC_MD5' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m111 |[0;0m return (CC_MD4_DIGEST_LENGTH, CC_MD4)
[0;36m112 |[0;0m case .md5:
[0;36m113 |[0;0m return (CC_MD5_DIGEST_LENGTH, CC_MD5)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'CC_MD5' was deprecated in macOS 10.15: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m114 |[0;0m case .sha1:
[0;36m115 |[0;0m return (CC_SHA1_DIGEST_LENGTH, CC_SHA1)
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:269:48: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m267 |[0;0m digest.update(self.bytesArray())
[0;36m268 |[0;0m let messageDigest = digest.final()
[0;36m269 |[0;0m return type(of: self).init(Data(bytes: [4;39mUnsafePointer<UInt8>(messageDigest)[0;0m, count: messageDigest.count))
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m270 |[0;0m }
[0;36m271 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:288:28: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m286 |[0;0m digest.update(self.data(using: String.Encoding.utf8)!.bytesArray())
[0;36m287 |[0;0m let messageDigest = digest.final()
[0;36m288 |[0;0m return Data(bytes: [4;39mUnsafePointer<UInt8>(messageDigest)[0;0m, count: messageDigest.count).hexString()
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m289 |[0;0m }
[0;36m290 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:329:32: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m327 |[0;0m static func random(_ length : Int) throws -> Data {
[0;36m328 |[0;0m let bytes = try Random.generateBytes(length)
[0;36m329 |[0;0m let data = Data(bytes: [4;39mUnsafePointer<UInt8>(bytes)[0;0m, count: bytes.count)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m330 |[0;0m return data
[0;36m331 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:433:28: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m431 |[0;0m hmac.update(self.bytesArray())
[0;36m432 |[0;0m let result = hmac.final()
[0;36m433 |[0;0m return Data(bytes: [4;39mUnsafePointer<UInt8>(result)[0;0m, count: result.count)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m434 |[0;0m }
[0;36m435 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:589:45: [1;33mwarning: [1;39minitialization of 'UnsafeRawPointer' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m587 |[0;0m var dataOutMoved = 0
[0;36m588 |[0;0m var outData = [UInt8](repeating: UInt8(0), count: Int(data.count + self.algorithm.blockSize))
[0;36m589 |[0;0m let ivData = self.iv == nil ? nil : [4;39mUnsafeRawPointer(self.iv!)[0;0m
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'Cipher.IV' (aka 'Array<UInt8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeRawPointer' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m590 |[0;0m let status = CCCrypt(operation.rawValue, // operation
[0;36m591 |[0;0m self.algorithm.rawValue, // algorithm
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:628:28: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m626 |[0;0m let cipher = Cipher(algorithm: algorithm, options: options, iv: iv?.bytesArray())
[0;36m627 |[0;0m let encryptedBytes = try cipher.encrypt(self.bytesArray(), key: key.bytesArray())
[0;36m628 |[0;0m return Data(bytes: [4;39mUnsafePointer<UInt8>(encryptedBytes)[0;0m, count: encryptedBytes.count)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m629 |[0;0m }
[0;36m630 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:646:28: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m644 |[0;0m let cipher = Cipher(algorithm: algorithm, options: options, iv: iv?.bytesArray())
[0;36m645 |[0;0m let decryptedBytes = try cipher.decrypt(self.bytesArray(), key: key.bytesArray())
[0;36m646 |[0;0m return Data(bytes: [4;39mUnsafePointer<UInt8>(decryptedBytes)[0;0m, count: decryptedBytes.count)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m647 |[0;0m }
[0;36m648 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:744:28: [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m742 |[0;0m func derivedKey(_ salt: Data, pseudoRandomAlgorithm: PBKDF.PseudoRandomAlgorithm, rounds: UInt32, derivedKeyLength: Int) throws -> Data {
[0;36m743 |[0;0m let key = try PBKDF.derivedKey(withLength: derivedKeyLength, password: self.bytesArray(), salt: salt.bytesArray(), pseudoRandomAlgorithm: pseudoRandomAlgorithm, rounds: rounds)
[0;36m744 |[0;0m return Data(bytes: [4;39mUnsafePointer<UInt8>(key)[0;0m, count: key.count)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'PBKDF.DerivedKey' (aka 'Array<UInt8>') to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m745 |[0;0m }
[0;36m746 |[0;0m
/Users/admin/builder/spi-builder-workspace/Source/SCrypto.swift:16:35: [1;33mwarning: [1;39mforming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.[0;0m
[0;36m14 |[0;0m func bytesArray<T: ExpressibleByIntegerLiteral>() -> [T] {
[0;36m15 |[0;0m var bytes = Array<T>(repeating: 0, count: self.count)
[0;36m16 |[0;0m (self as NSData).getBytes(&bytes, length:self.count * MemoryLayout<T>.size)
[0;36m|[0;0m `- [1;33mwarning: [1;39mforming 'UnsafeMutableRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.[0;0m
[0;36m17 |[0;0m return bytes
[0;36m18 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SCrypto",
"name" : "SCrypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SCrypto",
"targets" : [
"SCrypto"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SCrypto_Tests",
"module_type" : "SwiftTarget",
"name" : "SCrypto Tests",
"path" : "Tests",
"sources" : [
"SCryptoTests.swift"
],
"target_dependencies" : [
"SCrypto"
],
"type" : "test"
},
{
"c99name" : "SCrypto",
"module_type" : "SwiftTarget",
"name" : "SCrypto",
"path" : "Source",
"product_memberships" : [
"SCrypto"
],
"sources" : [
"SCrypto.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.