Build Information
Successful build of Multiaddr with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukereichold/swift-multiaddr.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/lukereichold/swift-multiaddr
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4a41d7f Update README.md
Cloned https://github.com/lukereichold/swift-multiaddr.git
Revision (git rev-parse @):
4a41d7f3a7c752cd7ac8e1f464da96518cf03cbb
SUCCESS checkout https://github.com/lukereichold/swift-multiaddr.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-multiaddr",
"name": "Multiaddr",
"url": "https://github.com/lukereichold/swift-multiaddr.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-multiaddr",
"dependencies": [
]
}
]
}
Fetching https://github.com/lukereichold/swift-multiaddr.git
[1/341] Fetching swift-multiaddr
Fetched https://github.com/lukereichold/swift-multiaddr.git (0.27s)
Creating working copy for https://github.com/lukereichold/swift-multiaddr.git
Working copy of https://github.com/lukereichold/swift-multiaddr.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swift-multiaddr' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/14] Compiling Multiaddr Onion.swift
[2/14] Compiling Multiaddr Protocol.swift
[3/14] Compiling Multiaddr DNS.swift
[4/14] Compiling Multiaddr IPFS.swift
[5/14] Compiling Multiaddr BinaryEncoder.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Varint/BinaryEncoder.swift:41:17: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
pointer.assign(from: bufferPointer.baseAddress!, count: count)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Varint/BinaryEncoder.swift:41:17: note: use 'update(from:count:)' instead
pointer.assign(from: bufferPointer.baseAddress!, count: count)
^~~~~~
update
[6/15] Compiling Multiaddr Address.swift
[7/15] Compiling Multiaddr Data+Multiaddr.swift
[8/15] Compiling Multiaddr IPv4.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv4.swift:17:46: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
guard let presentationBytes = output.withUnsafeMutableBytes({
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:14:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
var address = data.withUnsafeBytes { (bytesPointer: UnsafePointer<UInt8>) -> in6_addr in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:19:46: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
guard let presentationBytes = output.withUnsafeMutableBytes({
^
[9/15] Compiling Multiaddr IPv6.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv4.swift:17:46: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
guard let presentationBytes = output.withUnsafeMutableBytes({
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:14:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
var address = data.withUnsafeBytes { (bytesPointer: UnsafePointer<UInt8>) -> in6_addr in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/IPv6.swift:19:46: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
guard let presentationBytes = output.withUnsafeMutableBytes({
^
[10/15] Compiling Multiaddr Varint.swift
[11/15] Compiling Multiaddr Error+Multiaddr.swift
[12/15] Compiling Multiaddr Multiaddr.swift
[13/15] Compiling Multiaddr Base32.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:35:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
return data.withUnsafeBytes {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:41:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
return data.withUnsafeBytes {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:21: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:42: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:42: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:21: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:42: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:42: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:23: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:61: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:61: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base58.swift:63:50: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
str = "\(str)\(base58Alphabet[String.Index(encodedOffset: Int(b))])"
^
[14/15] Compiling Multiaddr Base58.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:35:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
return data.withUnsafeBytes {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:41:17: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
return data.withUnsafeBytes {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:21: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:42: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:48:42: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:21: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:42: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:54:42: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
Data(bytes: UnsafePointer<UInt8>($0), count: $0.count)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:23: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:61: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base32.swift:342:61: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
var decoded = UnsafeMutablePointer<UInt8>(mutating: result)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Multiaddr/Protocol Helpers/Base58.swift:63:50: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
str = "\(str)\(base58Alphabet[String.Index(encodedOffset: Int(b))])"
^
[15/15] Emitting module Multiaddr
Build complete! (8.73s)
Build complete.
Done.