Build Information
Successful build of SwiftMsgPack, reference master (6a9b7d
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 19:00:36 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftMsgPack.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftMsgPack
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/malcommac/SwiftMsgPack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Emitting module SwiftMsgPack
[4/6] Compiling SwiftMsgPack Decoder.swift
[5/6] Compiling SwiftMsgPack Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:225:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
223 |
224 | var data = UInt8(value)
225 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
226 |
227 | case UInt64(UInt16.min)...UInt64(UInt16.max):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:231:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
229 |
230 | var data = UInt16(value).bigEndian
231 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
232 |
233 | case UInt64(UInt32.min)...UInt64(UInt32.max):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:237:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
235 |
236 | var data = UInt32(value).bigEndian
237 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
238 |
239 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:243:16: warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
241 | // Write value
242 | var data = UInt64(value).bigEndian
243 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
244 | }
245 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:264:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
262 |
263 | var data = UInt32(value).bigEndian
264 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
265 |
266 | // UNSIGNED INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:271:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
269 |
270 | var data = UInt16(value).bigEndian
271 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
272 |
273 | // POSITIVE INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:278:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
276 |
277 | var data = UInt16(value).bigEndian
278 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
279 |
280 | // UNSIGNED INT 8 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:285:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
283 |
284 | var data = UInt8(value)
285 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
286 |
287 | // POSITIVE INT 8 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:300:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
298 |
299 | var data = UInt8(value & 0xff)
300 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
301 |
302 | // NEGATIVE INT 16 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:307:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
305 |
306 | var data = UInt16(bitPattern: Int16(value)).bigEndian
307 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
308 |
309 | // NEGATIVE INT 32 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:314:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
312 |
313 | var data = UInt32(bitPattern: Int32(value)).bigEndian
314 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
315 |
316 | // INT 64 BIT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:321:16: warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
319 |
320 | var data = UInt64(bitPattern: Int64(value)).bigEndian
321 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
322 | }
323 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:338:15: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
336 |
337 | var data = value.bitPattern.bigEndian
338 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
339 | return self
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:353:15: warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
351 |
352 | var data = value.bitPattern.bigEndian
353 | self.append(UnsafeBufferPointer(start: &data, count: 1))
| | |- note: implicit argument conversion from 'UInt64' to 'UnsafePointer<UInt64>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt64>' results in a dangling buffer pointer [#TemporaryPointers]
354 | return self
355 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:433:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
431 | private mutating func writeDataTypeHeader(_ type: MsgPackType) throws {
432 | var type_value = try type.value()
433 | self.append( UnsafeBufferPointer(start: &type_value, count: 1) )
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
434 | }
435 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:453:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
451 | } else if length < Int(UInt16.max) {
452 | var data_len = UInt16(length).bigEndian
453 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
454 | } else { //if length < Int(UInt32.max) {
455 | var data_len = UInt32(length).bigEndian
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:456:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
454 | } else { //if length < Int(UInt32.max) {
455 | var data_len = UInt32(length).bigEndian
456 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
457 | }
458 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:472:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
470 | } else if length < Int(UInt16.max) {
471 | var data_len = UInt16(length).bigEndian
472 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
473 | } else { //if length < Int(UInt32.max) {
474 | var data_len = UInt32(length).bigEndian
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:475:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
473 | } else { //if length < Int(UInt32.max) {
474 | var data_len = UInt32(length).bigEndian
475 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
476 | }
477 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:491:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
489 | else if length < Int(UInt8.max) {
490 | var len_data = UInt8(length)
491 | self.append(UnsafeBufferPointer(start: &len_data, count: 1))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
492 | }
493 | else if length < Int(UInt16.max) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:495:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
493 | else if length < Int(UInt16.max) {
494 | var len_data = UInt16(length).bigEndian
495 | self.append(UnsafeBufferPointer(start: &len_data, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
496 | }
497 | else { //if length < Int(UInt32.max) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:499:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
497 | else { //if length < Int(UInt32.max) {
498 | var len_data = UInt32(length).bigEndian
499 | self.append(UnsafeBufferPointer(start: &len_data, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
500 | }
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:514:16: warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
512 |
513 | var data_len = UInt8(length)
514 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt8' to 'UnsafePointer<UInt8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt8>' results in a dangling buffer pointer [#TemporaryPointers]
515 | }
516 | // 16 BIT LENGTH
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:521:16: warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
519 |
520 | var data_len = UInt16(length).bigEndian
521 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt16' to 'UnsafePointer<UInt16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt16>' results in a dangling buffer pointer [#TemporaryPointers]
522 | }
523 | // 32 BIT LENGTH
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Encoder.swift:528:16: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
526 |
527 | var data_len = UInt32(length).bigEndian
528 | self.append(UnsafeBufferPointer(start: &data_len, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer [#TemporaryPointers]
529 | }
530 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/6] Compiling SwiftMsgPack Commons.swift
Build complete! (3.51s)
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.