The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Mqtt with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hjianbo/mqtt.git
Reference: 0.3.0
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/hjianbo/mqtt
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 2af5589 Merge branch 'dev'
Cloned https://github.com/hjianbo/mqtt.git into spi-builder-workspace
2af55898db7cccfc12accfd0a15fe4ecbf9fa579
SUCCESS checkout https://github.com/hjianbo/mqtt.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/sockets from cache
Fetched https://github.com/vapor/debugging.git (0.21s)
Fetched https://github.com/vapor/sockets (0.21s)
Fetching https://github.com/vapor/bits.git from cache
Computing version for https://github.com/vapor/sockets
Fetched https://github.com/vapor/core.git (0.23s)
Fetched https://github.com/vapor/bits.git (0.19s)
Computed https://github.com/vapor/sockets at 2.2.2 (0.71s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.0 (0.56s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.57s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.56s)
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/sockets
Working copy of https://github.com/vapor/sockets resolved at 2.2.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
warning: 'spi-builder-workspace': Invalid Exclude '/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Examples': File not found.
Building for debugging...
[1/22] Compiling Debugging Debuggable.swift
[2/22] Emitting module Debugging
[3/22] Compiling libc libc.swift
[4/22] Emitting module libc
[5/22] Emitting module Bits
[6/24] Compiling Bits UnsignedInteger+BytesConvertible.swift
[7/24] Compiling Bits UnsignedInteger+Shifting.swift
[8/24] Compiling Bits Byte+Random.swift
[9/24] Compiling Bits Byte+UTF8Numbers.swift
[10/24] Compiling Bits ByteSequence+Conversions.swift
[11/24] Compiling Bits Byte+ControlCharacters.swift
[12/24] Compiling Bits Byte+Convenience.swift
[13/24] Compiling Bits Byte+PatternMatching.swift
[14/24] Compiling Bits Bytes+Base64.swift
[15/24] Compiling Bits Bytes+Hex.swift
[16/24] Compiling Bits Bytes+Percent.swift
[17/24] Compiling Bits BytesConvertible.swift
[18/24] Compiling Bits Operators.swift
[19/24] Compiling Bits String+BytesConvertible.swift
[20/24] Compiling Bits Aliases.swift
[21/24] Compiling Bits Base64Encoder.swift
[22/24] Compiling Bits Byte+Alphabet.swift
[23/24] Compiling Bits Data+BytesConvertible.swift
[24/24] Compiling Bits HexEncoder.swift
[25/46] Compiling Core Result.swift
[26/46] Compiling Core Semaphore.swift
[27/46] Compiling Core Sequence.swift
[28/48] Emitting module Core
[29/48] Compiling Core DispatchTime+Utilities.swift
[30/48] Compiling Core EmptyInitializable.swift
[31/48] Compiling Core Exports.swift
[32/48] Compiling Core Extendable.swift
[33/48] Compiling Core FileProtocol.swift
[34/48] Compiling Core Int+Hex.swift
[35/48] Compiling Core Lock.swift
[36/48] Compiling Core Portal.swift
[37/48] Compiling Core RFC1123.swift
[38/48] Compiling Core Array.swift
[39/48] Compiling Core Bits.swift
[40/48] Compiling Core Cache.swift
[41/48] Compiling Core StaticDataBuffer.swift
[42/48] Compiling Core String+CaseInsensitiveCompare.swift
[43/48] Compiling Core String+Polymorphic.swift
[44/48] Compiling Core Collection+Safe.swift
[45/48] Compiling Core DataFile.swift
[46/48] Compiling Core Dispatch.swift
[47/48] Compiling Core String.swift
[48/48] Compiling Core WorkingDirectory.swift
[49/58] Compiling Transport ServerStream.swift
[50/58] Compiling Transport Stream.swift
[51/58] Compiling Transport StreamError.swift
[52/58] Compiling Transport ReadableStream.swift
[53/59] Compiling Transport InternetStream.swift
[54/59] Compiling Transport Port.swift
[55/59] Compiling Transport Exports.swift
[56/59] Compiling Transport ClientStream.swift
[57/59] Compiling Transport FoundationStream.swift
[58/59] Emitting module Transport
[59/59] Compiling Transport WriteableStream.swift
[60/80] Compiling Sockets TCPReadableSocket.swift
[61/80] Compiling Sockets TCPSocket.swift
[62/82] Compiling Sockets Conversions.swift
[63/82] Compiling Sockets Error.swift
[64/82] Compiling Sockets FDSet.swift
[65/82] Compiling Sockets Descriptor.swift
[66/82] Compiling Sockets InternetSocket.swift
[67/82] Compiling Sockets Pipe.swift
[68/82] Compiling Sockets RawSocket.swift
[69/82] Compiling Sockets Select.swift
[70/82] Compiling Sockets Socket.swift
[71/82] Compiling Sockets Types.swift
[72/82] Compiling Sockets Exports.swift
[73/82] Compiling Sockets Config.swift
[74/82] Compiling Sockets SocketOptions.swift
[75/82] Compiling Sockets TCPEstablishedSocket.swift
[76/82] Compiling Sockets TCPInternetSocket.swift
[77/82] Compiling Sockets Address+C.swift
[78/82] Compiling Sockets Address.swift
[79/82] Compiling Sockets Buffer.swift
[80/82] Emitting module Sockets
[81/82] Compiling Sockets TCPWriteableSocket.swift
[82/82] Compiling Sockets UDPSocket.swift
[83/101] Compiling Mqtt PublishPacket.swift
[84/101] Compiling Mqtt SubAckPacket.swift
[85/101] Compiling Mqtt SubscribePacket.swift
[86/101] Compiling Mqtt UnsubAckPacket.swift
[87/103] Compiling Mqtt PingRespPacket.swift
[88/103] Compiling Mqtt PubAckPacket.swift
[89/103] Compiling Mqtt PubCompPacket.swift
[90/103] Compiling Mqtt DisconnectPacket.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
[91/103] Compiling Mqtt Packet.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
[92/103] Compiling Mqtt PingReqPacket.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:173:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:28: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: implicit argument conversion from 'Array<UInt8>' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Packet/Packet.swift:205:49: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        return Data(bytes: UnsafePointer<UInt8>(packToBytes), count: packToBytes.count)
                                                ^
[93/103] Compiling Mqtt PubRecPacket.swift
[94/103] Compiling Mqtt PubRelPacket.swift
[95/103] Compiling Mqtt DDLog.swift
[96/103] Compiling Mqtt Extension.swift
[97/103] Compiling Mqtt LocalStorage.swift
[98/103] Compiling Mqtt MqttClient.swift
[99/103] Compiling Mqtt ConnAckPacket.swift
[100/103] Compiling Mqtt ConnectPacket.swift
[101/103] Emitting module Mqtt
[102/103] Compiling Mqtt UnsubscribePacket.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Session/Session.swift:515:13: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
        var buffer = try socket.read(max: readLength)
        ~~~ ^
        let
[103/103] Compiling Mqtt Session.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Session/Session.swift:515:13: warning: variable 'buffer' was never mutated; consider changing to 'let' constant
        var buffer = try socket.read(max: readLength)
        ~~~ ^
        let
Build complete! (23.88s)
Build complete.
========================================
ResolveProductDependencies
========================================
Resolving dependencies at path: spi-builder-workspace
Fetching https://github.com/hjianbo/mqtt.git
[1/1085] Fetching mqtt
Fetched https://github.com/hjianbo/mqtt.git (0.28s)
Fetching https://github.com/vapor/sockets from cache
Fetched https://github.com/vapor/sockets (0.19s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.4 (0.54s)
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/async.git from cache
Fetched https://github.com/vapor/async.git (0.18s)
Fetched https://github.com/vapor/core.git (0.21s)
Computing version for https://github.com/vapor/async.git
Computed https://github.com/vapor/async.git at 1.0.0-rc.1.1 (0.62s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.54s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.61s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.17s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.64s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/async.git
Working copy of https://github.com/vapor/async.git resolved at 1.0.0-rc.1.1
Creating working copy for https://github.com/vapor/sockets
Working copy of https://github.com/vapor/sockets resolved at 2.2.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/hjianbo/mqtt.git
Working copy of https://github.com/hjianbo/mqtt.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
error: multiple products
 named 'Async' in: 'async', 'core'
Done.

Build Machine: Mac 5