Build Information
Successful build of SwiftMsgPack, reference 1.2.0 (6a9b7d), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 17:58:58 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/malcommac/SwiftMsgPack.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftMsgPack
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 6a9b7d7 Added 5.3 to Package.swift
Cloned https://github.com/malcommac/SwiftMsgPack.git
Revision (git rev-parse @):
6a9b7d73f78cd0f7e5ad280fde39a347f15baaf7
SUCCESS checkout https://github.com/malcommac/SwiftMsgPack.git at 1.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/malcommac/SwiftMsgPack.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] SwiftMsgPack
[30 / 67]
[35 / 67]
[38 / 67]
[39 / 67]
[43 / 67]
[45 / 67]
[48 / 67]
[51 / 67]
[53 / 67]
[54 / 67]
[58 / 67] SwiftMsgPack
[64 / 67] SwiftMsgPack
Build complete! (7.13 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:225:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m223 |[0;0m
[0;36m224 |[0;0m var data = UInt8(value)
[0;36m225 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m226 |[0;0m
[0;36m227 |[0;0m case UInt64(UInt16.min)...UInt64(UInt16.max):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:231:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m229 |[0;0m
[0;36m230 |[0;0m var data = UInt16(value).bigEndian
[0;36m231 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m232 |[0;0m
[0;36m233 |[0;0m case UInt64(UInt32.min)...UInt64(UInt32.max):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:237:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m235 |[0;0m
[0;36m236 |[0;0m var data = UInt32(value).bigEndian
[0;36m237 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m238 |[0;0m
[0;36m239 |[0;0m default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:243:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m241 |[0;0m // Write value
[0;36m242 |[0;0m var data = UInt64(value).bigEndian
[0;36m243 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m244 |[0;0m }
[0;36m245 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:264:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m262 |[0;0m
[0;36m263 |[0;0m var data = UInt32(value).bigEndian
[0;36m264 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m265 |[0;0m
[0;36m266 |[0;0m // UNSIGNED INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:271:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m269 |[0;0m
[0;36m270 |[0;0m var data = UInt16(value).bigEndian
[0;36m271 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m272 |[0;0m
[0;36m273 |[0;0m // POSITIVE INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:278:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m276 |[0;0m
[0;36m277 |[0;0m var data = UInt16(value).bigEndian
[0;36m278 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m279 |[0;0m
[0;36m280 |[0;0m // UNSIGNED INT 8 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:285:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m283 |[0;0m
[0;36m284 |[0;0m var data = UInt8(value)
[0;36m285 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m286 |[0;0m
[0;36m287 |[0;0m // POSITIVE INT 8 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:300:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m298 |[0;0m
[0;36m299 |[0;0m var data = UInt8(value & 0xff)
[0;36m300 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m301 |[0;0m
[0;36m302 |[0;0m // NEGATIVE INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:307:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m305 |[0;0m
[0;36m306 |[0;0m var data = UInt16(bitPattern: Int16(value)).bigEndian
[0;36m307 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m308 |[0;0m
[0;36m309 |[0;0m // NEGATIVE INT 32 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:314:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m312 |[0;0m
[0;36m313 |[0;0m var data = UInt32(bitPattern: Int32(value)).bigEndian
[0;36m314 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m315 |[0;0m
[0;36m316 |[0;0m // INT 64 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:321:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m319 |[0;0m
[0;36m320 |[0;0m var data = UInt64(bitPattern: Int64(value)).bigEndian
[0;36m321 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m322 |[0;0m }
[0;36m323 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:338:15: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m336 |[0;0m
[0;36m337 |[0;0m var data = value.bitPattern.bigEndian
[0;36m338 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m339 |[0;0m return self
[0;36m340 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:353:15: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m351 |[0;0m
[0;36m352 |[0;0m var data = value.bitPattern.bigEndian
[0;36m353 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m354 |[0;0m return self
[0;36m355 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:433:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m431 |[0;0m private mutating func writeDataTypeHeader(_ type: MsgPackType) throws {
[0;36m432 |[0;0m var type_value = try type.value()
[0;36m433 |[0;0m self.append( [4;39mUnsafeBufferPointer(start: &type_value, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m434 |[0;0m }
[0;36m435 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:453:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m451 |[0;0m } else if length < Int(UInt16.max) {
[0;36m452 |[0;0m var data_len = UInt16(length).bigEndian
[0;36m453 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m454 |[0;0m } else { //if length < Int(UInt32.max) {
[0;36m455 |[0;0m var data_len = UInt32(length).bigEndian
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:456:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m454 |[0;0m } else { //if length < Int(UInt32.max) {
[0;36m455 |[0;0m var data_len = UInt32(length).bigEndian
[0;36m456 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m457 |[0;0m }
[0;36m458 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:472:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m470 |[0;0m } else if length < Int(UInt16.max) {
[0;36m471 |[0;0m var data_len = UInt16(length).bigEndian
[0;36m472 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m473 |[0;0m } else { //if length < Int(UInt32.max) {
[0;36m474 |[0;0m var data_len = UInt32(length).bigEndian
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:475:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m473 |[0;0m } else { //if length < Int(UInt32.max) {
[0;36m474 |[0;0m var data_len = UInt32(length).bigEndian
[0;36m475 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m476 |[0;0m }
[0;36m477 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:491:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m489 |[0;0m else if length < Int(UInt8.max) {
[0;36m490 |[0;0m var len_data = UInt8(length)
[0;36m491 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &len_data, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m492 |[0;0m }
[0;36m493 |[0;0m else if length < Int(UInt16.max) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:495:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m493 |[0;0m else if length < Int(UInt16.max) {
[0;36m494 |[0;0m var len_data = UInt16(length).bigEndian
[0;36m495 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &len_data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m496 |[0;0m }
[0;36m497 |[0;0m else { //if length < Int(UInt32.max) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:499:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m497 |[0;0m else { //if length < Int(UInt32.max) {
[0;36m498 |[0;0m var len_data = UInt32(length).bigEndian
[0;36m499 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &len_data, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m500 |[0;0m }
[0;36m501 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:514:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m512 |[0;0m
[0;36m513 |[0;0m var data_len = UInt8(length)
[0;36m514 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[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(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m515 |[0;0m }
[0;36m516 |[0;0m // 16 BIT LENGTH
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:521:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m519 |[0;0m
[0;36m520 |[0;0m var data_len = UInt16(length).bigEndian
[0;36m521 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m522 |[0;0m }
[0;36m523 |[0;0m // 32 BIT LENGTH
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:528:16: [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m526 |[0;0m
[0;36m527 |[0;0m var data_len = UInt32(length).bigEndian
[0;36m528 |[0;0m self.append([4;39mUnsafeBufferPointer(start: &data_len, count: 1)[0;0m)
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m529 |[0;0m }
[0;36m530 |[0;0m }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftMsgPack",
"name" : "SwiftMsgPack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftMsgPack",
"targets" : [
"SwiftMsgPack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMsgPackTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMsgPackTests",
"path" : "Tests/SwiftMsgPackTests",
"sources" : [
"SwiftMsgPackTests_Array.swift",
"SwiftMsgPackTests_BoolNil.swift",
"SwiftMsgPackTests_Data.swift",
"SwiftMsgPackTests_Dictionary.swift",
"SwiftMsgPackTests_Numeric.swift",
"SwiftMsgPackTests_String.swift"
],
"target_dependencies" : [
"SwiftMsgPack"
],
"type" : "test"
},
{
"c99name" : "SwiftMsgPack",
"module_type" : "SwiftTarget",
"name" : "SwiftMsgPack",
"path" : "Sources/SwiftMsgPack",
"product_memberships" : [
"SwiftMsgPack"
],
"sources" : [
"Commons.swift",
"Decoder.swift",
"Encoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.