Build Information
Successful build of Multiaddr, reference 1.0.2 (ab93a2), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 13:40:20 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/lukereichold/swift-multiaddr.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukereichold/swift-multiaddr
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at ab93a27 Remove PackageDescription scheme
Cloned https://github.com/lukereichold/swift-multiaddr.git
Revision (git rev-parse @):
ab93a273c5531f9552dc3397abd963c6c0b9a57d
SUCCESS checkout https://github.com/lukereichold/swift-multiaddr.git at 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/lukereichold/swift-multiaddr.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]
[19 / 28]
[20 / 29] Multiaddr
[30 / 78]
[35 / 78]
[39 / 78]
[40 / 78]
[44 / 78]
[46 / 78]
[50 / 78]
[54 / 78]
[56 / 78]
[57 / 78]
[69 / 78] Multiaddr
[70 / 78] Multiaddr
[75 / 78] Multiaddr
Build complete! (8.97 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:35:17: [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;36m33 |[0;0m
[0;36m34 |[0;0m public func base32Encode(_ data: Data) -> String {
[0;36m35 |[0;0m return data.withUnsafeBytes {
[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;36m36 |[0;0m base32encode(UnsafeRawPointer($0), data.count, alphabetEncodeTable)
[0;36m37 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:41:17: [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;36m39 |[0;0m
[0;36m40 |[0;0m public func base32HexEncode(_ data: Data) -> String {
[0;36m41 |[0;0m return data.withUnsafeBytes {
[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;36m42 |[0;0m base32encode(UnsafeRawPointer($0), data.count, extendedHexAlphabetEncodeTable)
[0;36m43 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:21: [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;36m46 |[0;0m public func base32DecodeToData(_ string: String) -> Data? {
[0;36m47 |[0;0m return base32decode(string, alphabetDecodeTable).flatMap {
[0;36m48 |[0;0m Data(bytes: [4;39mUnsafePointer<UInt8>($0)[0;0m, count: $0.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;36m49 |[0;0m }
[0;36m50 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:21: [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;36m52 |[0;0m public func base32HexDecodeToData(_ string: String) -> Data? {
[0;36m53 |[0;0m return base32decode(string, extendedHexAlphabetDecodeTable).flatMap {
[0;36m54 |[0;0m Data(bytes: [4;39mUnsafePointer<UInt8>($0)[0;0m, count: $0.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;36m55 |[0;0m }
[0;36m56 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:23: [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m340 |[0;0m
[0;36m341 |[0;0m let result = Array<UInt8>(repeating: 0, count: dataSize)
[0;36m342 |[0;0m var decoded = [4;39mUnsafeMutablePointer<UInt8>(mutating: result)[0;0m
[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(mutating:)'[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 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m343 |[0;0m
[0;36m344 |[0;0m // decode regular blocks
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base58.swift:63:50: [1;33mwarning: [1;39m'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m61 |[0;0m
[0;36m62 |[0;0m for b in base58 {
[0;36m63 |[0;0m str = "\(str)\(base58Alphabet[String.Index(encodedOffset: Int(b))])"
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m64 |[0;0m }
[0;36m65 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Varint/BinaryEncoder.swift:41:17: [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m39 |[0;0m private mutating func append(contentsOf bufferPointer: UnsafeBufferPointer<UInt8>) {
[0;36m40 |[0;0m let count = bufferPointer.count
[0;36m41 |[0;0m pointer.assign(from: bufferPointer.baseAddress!, count: count)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'update(from:count:)' instead[0;0m
[0;36m42 |[0;0m pointer = pointer.advanced(by: count)
[0;36m43 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:14: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;36m12 |[0;0m throw MultiaddrError.parseIPv4AddressFail
[0;36m13 |[0;0m }
[0;36m14 |[0;0m var address = data.withUnsafeBytes { (bytesPointer: UnsafePointer<UInt8>) -> in6_addr 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;36m15 |[0;0m bytesPointer.withMemoryRebound(to: in6_addr.self, capacity: 1) { $0.pointee }
[0;36m16 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:19:46: [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;36m17 |[0;0m
[0;36m18 |[0;0m var output = Data(count: Int(INET6_ADDRSTRLEN))
[0;36m19 |[0;0m guard let presentationBytes = output.withUnsafeMutableBytes({
[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;36m20 |[0;0m inet_ntop(AF_INET6, &address, $0, socklen_t(INET6_ADDRSTRLEN))
[0;36m21 |[0;0m }) else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv4.swift:17:46: [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;36m15 |[0;0m var address = in_addr(s_addr: data.uint32)
[0;36m16 |[0;0m
[0;36m17 |[0;0m guard let presentationBytes = output.withUnsafeMutableBytes({
[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;36m18 |[0;0m inet_ntop(AF_INET, &address, $0, socklen_t(INET_ADDRSTRLEN))
[0;36m19 |[0;0m }) else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Multiaddr",
"name" : "Multiaddr",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "Multiaddr",
"targets" : [
"Multiaddr"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MultiaddrTests",
"module_type" : "SwiftTarget",
"name" : "MultiaddrTests",
"path" : "Tests/MultiaddrTests",
"sources" : [
"MultiaddrTests.swift",
"ProtocolTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Multiaddr"
],
"type" : "test"
},
{
"c99name" : "Multiaddr",
"module_type" : "SwiftTarget",
"name" : "Multiaddr",
"path" : "Sources/Multiaddr",
"product_memberships" : [
"Multiaddr"
],
"sources" : [
"Address.swift",
"Extensions/Data+Multiaddr.swift",
"Extensions/Error+Multiaddr.swift",
"Multiaddr.swift",
"Protocol Helpers/Base32.swift",
"Protocol Helpers/Base58.swift",
"Protocol Helpers/DNS.swift",
"Protocol Helpers/IPFS.swift",
"Protocol Helpers/IPv4.swift",
"Protocol Helpers/IPv6.swift",
"Protocol Helpers/Onion.swift",
"Protocol.swift",
"Varint/BinaryEncoder.swift",
"Varint/Varint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.