Build Information
Successful build of SwiftMsgPack, reference 1.2.0 (6a9b7d
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 05:18:38 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftmsgpack",
"name": "SwiftMsgPack",
"url": "https://github.com/malcommac/SwiftMsgPack.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftMsgPack",
"dependencies": [
]
}
]
}
Fetching https://github.com/malcommac/SwiftMsgPack.git
[1/439] Fetching swiftmsgpack
Fetched https://github.com/malcommac/SwiftMsgPack.git from cache (0.89s)
Creating working copy for https://github.com/malcommac/SwiftMsgPack.git
Working copy of https://github.com/malcommac/SwiftMsgPack.git resolved at 1.2.0 (6a9b7d7)
warning: '.resolve-product-dependencies': dependency 'swiftmsgpack' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/malcommac/SwiftMsgPack.git
https://github.com/malcommac/SwiftMsgPack.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling SwiftMsgPack Decoder.swift
[4/6] Compiling SwiftMsgPack Commons.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Commons.swift:45:7: warning: associated value 'unsupportedValue' of 'Sendable'-conforming enum 'MsgPackError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
43 | case unexpectedData
44 | case dataIsTooBig(_: String)
45 | case unsupportedValue(_: Any)
| `- warning: associated value 'unsupportedValue' of 'Sendable'-conforming enum 'MsgPackError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
46 | }
47 |
[5/6] Emitting module SwiftMsgPack
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgPack/Commons.swift:45:7: warning: associated value 'unsupportedValue' of 'Sendable'-conforming enum 'MsgPackError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
43 | case unexpectedData
44 | case dataIsTooBig(_: String)
45 | case unsupportedValue(_: Any)
| `- warning: associated value 'unsupportedValue' of 'Sendable'-conforming enum 'MsgPackError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
46 | }
47 |
[6/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
529 | }
530 | }
Build complete! (4.78s)
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.