The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Multiaddr with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/lukereichold/swift-multiaddr.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/16] Compiling Multiaddr Onion.swift
[4/16] Compiling Multiaddr Protocol.swift
[5/17] Compiling Multiaddr BinaryEncoder.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/17] Compiling Multiaddr DNS.swift
[7/17] Compiling Multiaddr IPFS.swift
[8/17] Compiling Multiaddr Error+Multiaddr.swift
[9/17] Compiling Multiaddr Multiaddr.swift
[10/17] Compiling Multiaddr IPv4.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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({
                                             ^
[11/17] Compiling Multiaddr IPv6.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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({
                                             ^
[12/17] Compiling Multiaddr Varint.swift
[13/17] Compiling Multiaddr Address.swift
[14/17] Compiling Multiaddr Data+Multiaddr.swift
[15/17] Emitting module Multiaddr
[16/17] Compiling Multiaddr Base32.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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))])"
                                                 ^
[17/17] Compiling Multiaddr Base58.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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))])"
                                                 ^
Build complete! (4.17s)
Build complete.
Done.