The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.2.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/2/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.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetched https://github.com/vapor/core.git (0.36s)
Fetching https://github.com/vapor/sockets from cache
Fetched https://github.com/vapor/bits.git (0.36s)
Fetched https://github.com/vapor/debugging.git (0.36s)
Fetched https://github.com/vapor/sockets (0.23s)
Computing version for https://github.com/vapor/sockets
Computed https://github.com/vapor/sockets at 2.2.2 (0.48s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.0 (0.46s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.46s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.0 (0.53s)
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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.0
warning: 'spi-builder-workspace': Invalid Exclude '/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Mqtt/Examples': File not found.
Building for debugging...
[1/22] Emitting module Debugging
[2/22] Compiling Debugging Debuggable.swift
[3/22] Compiling libc libc.swift
[4/22] Emitting module libc
[5/22] Compiling Bits Data+BytesConvertible.swift
[6/22] Compiling Bits HexEncoder.swift
[7/22] Compiling Bits Operators.swift
[8/22] Compiling Bits String+BytesConvertible.swift
[9/22] Compiling Bits Byte+Random.swift
[10/22] Compiling Bits Byte+UTF8Numbers.swift
[11/22] Compiling Bits ByteSequence+Conversions.swift
[12/22] Compiling Bits Bytes+Base64.swift
[13/22] Compiling Bits Bytes+Hex.swift
[14/22] Compiling Bits Aliases.swift
[15/22] Compiling Bits Base64Encoder.swift
[16/22] Compiling Bits Byte+Alphabet.swift
[17/22] Compiling Bits Byte+ControlCharacters.swift
[18/22] Compiling Bits Byte+Convenience.swift
[19/22] Compiling Bits Byte+PatternMatching.swift
[20/22] Emitting module Bits
[21/22] Compiling Bits Bytes+Percent.swift
[22/22] Compiling Bits BytesConvertible.swift
[23/24] Compiling Bits UnsignedInteger+BytesConvertible.swift
[24/24] Compiling Bits UnsignedInteger+Shifting.swift
[25/46] Compiling Core Array.swift
[26/46] Compiling Core Bits.swift
[27/46] Compiling Core Cache.swift
[28/46] Compiling Core Collection+Safe.swift
[29/46] Compiling Core DataFile.swift
[30/46] Compiling Core Dispatch.swift
[31/46] Compiling Core StaticDataBuffer.swift
[32/46] Compiling Core String+CaseInsensitiveCompare.swift
[33/46] Compiling Core String+Polymorphic.swift
[34/46] Compiling Core Result.swift
[35/46] Compiling Core Semaphore.swift
[36/46] Compiling Core Sequence.swift
[37/46] Compiling Core Extendable.swift
[38/46] Compiling Core FileProtocol.swift
[39/46] Compiling Core Int+Hex.swift
[40/46] Compiling Core Lock.swift
[41/46] Compiling Core Portal.swift
[42/46] Compiling Core RFC1123.swift
[43/46] Emitting module Core
[44/46] Compiling Core DispatchTime+Utilities.swift
[45/46] Compiling Core EmptyInitializable.swift
[46/46] Compiling Core Exports.swift
[47/48] Compiling Core String.swift
[48/48] Compiling Core WorkingDirectory.swift
[49/58] Compiling Transport Stream.swift
[50/59] Compiling Transport WriteableStream.swift
[51/59] Compiling Transport Exports.swift
[52/59] Compiling Transport ClientStream.swift
[53/59] Emitting module Transport
[54/59] Compiling Transport InternetStream.swift
[55/59] Compiling Transport Port.swift
[56/59] Compiling Transport ReadableStream.swift
[57/59] Compiling Transport ServerStream.swift
[58/59] Compiling Transport StreamError.swift
[59/59] Compiling Transport FoundationStream.swift
[60/80] Compiling Sockets TCPReadableSocket.swift
[61/80] Compiling Sockets TCPSocket.swift
[62/82] Compiling Sockets RawSocket.swift
[63/82] Compiling Sockets Select.swift
[64/82] Compiling Sockets Socket.swift
[65/82] Compiling Sockets Descriptor.swift
[66/82] Compiling Sockets InternetSocket.swift
[67/82] Compiling Sockets Pipe.swift
[68/82] Emitting module Sockets
[69/82] Compiling Sockets Types.swift
[70/82] Compiling Sockets Exports.swift
[71/82] Compiling Sockets Config.swift
[72/82] Compiling Sockets SocketOptions.swift
[73/82] Compiling Sockets TCPEstablishedSocket.swift
[74/82] Compiling Sockets TCPInternetSocket.swift
[75/82] Compiling Sockets Address+C.swift
[76/82] Compiling Sockets Address.swift
[77/82] Compiling Sockets Buffer.swift
[78/82] Compiling Sockets Conversions.swift
[79/82] Compiling Sockets Error.swift
[80/82] Compiling Sockets FDSet.swift
[81/82] Compiling Sockets TCPWriteableSocket.swift
[82/82] Compiling Sockets UDPSocket.swift
[83/101] Compiling Mqtt DisconnectPacket.swift
/Users/builder/builds/o86TiJKT/2/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/2/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/2/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/2/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/2/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/2/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)
                                                ^
[84/101] Compiling Mqtt Packet.swift
/Users/builder/builds/o86TiJKT/2/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/2/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/2/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/2/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/2/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/2/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)
                                                ^
[85/101] Compiling Mqtt PingReqPacket.swift
/Users/builder/builds/o86TiJKT/2/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/2/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/2/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/2/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/2/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/2/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)
                                                ^
[86/101] Compiling Mqtt PubRecPacket.swift
[87/101] Compiling Mqtt PubRelPacket.swift
[88/101] Compiling Mqtt PingRespPacket.swift
[89/101] Compiling Mqtt PubAckPacket.swift
[90/101] Compiling Mqtt PubCompPacket.swift
[91/101] Compiling Mqtt SubscribePacket.swift
[92/101] Compiling Mqtt UnsubAckPacket.swift
[93/101] Compiling Mqtt PublishPacket.swift
[94/101] Compiling Mqtt SubAckPacket.swift
[95/103] Emitting module Mqtt
[96/103] Compiling Mqtt MqttClient.swift
[97/103] Compiling Mqtt ConnAckPacket.swift
[98/103] Compiling Mqtt ConnectPacket.swift
[99/103] Compiling Mqtt DDLog.swift
[100/103] Compiling Mqtt Extension.swift
[101/103] Compiling Mqtt LocalStorage.swift
[102/103] Compiling Mqtt UnsubscribePacket.swift
/Users/builder/builds/o86TiJKT/2/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/2/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! (20.98s)
Build complete.
Done.

Build Machine: Mac 5