The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MemoryLayoutKit, reference 0.0.4 (06dc9f), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 16:11:55 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Octadero/MemoryLayoutKit.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Octadero/MemoryLayoutKit
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 06dc9f9 Swift 4.2 ready, Xcode beta 5 tested
Cloned https://github.com/Octadero/MemoryLayoutKit.git
Revision (git rev-parse @):
06dc9f9ffbbc5844e72d9ddee83f4b78e8c564c0
SUCCESS checkout https://github.com/Octadero/MemoryLayoutKit.git at 0.0.4
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "memorylayoutkit",
      "name": "MemoryLayoutKit",
      "url": "https://github.com/Octadero/MemoryLayoutKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MemoryLayoutKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Octadero/MemoryLayoutKit.git
[1/54] Fetching memorylayoutkit
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (0.61s)
Creating working copy for https://github.com/Octadero/MemoryLayoutKit.git
Working copy of https://github.com/Octadero/MemoryLayoutKit.git resolved at 0.0.4 (06dc9f9)
warning: '.resolve-product-dependencies': dependency 'memorylayoutkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Octadero/MemoryLayoutKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/8] Compiling MemoryLayoutKit General.swift
[4/8] Emitting module MemoryLayoutKit
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | /// Feature to print data as hex array.
20 | public extension Data {
21 | 	public func hexEncodedString() -> String {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | 		return map { String(format: " 0x%02hhx", $0) }.joined()
23 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Data {
27 | 	public func decode<T>() -> T {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | 		let pointer = UnsafeMutablePointer<T>.allocate(capacity: MemoryLayout<T>.size)
29 | 		NSData(data: self).getBytes(pointer, length: MemoryLayout<T>.size)
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
33 | 	}
34 |
35 | 	public init<T>(fromArray values: [T]) {
   |  `- warning: 'public' modifier is redundant for initializer declared in a public extension
36 | 		var values = values
37 | 		self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | 	}
39 |
40 | 	public func toArray<T>(type: T.Type) -> [T] {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | 		return self.withUnsafeBytes {
42 | 			[T](UnsafeBufferPointer(start: $0, count: self.count/MemoryLayout<T>.stride))
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
119 | 	/// - Parameter transform: A closure that accepts an element of this sequence as its argument and returns an optional value.
120 | 	/// - Returns: An array of the non-nil results of calling transform with each element of the sequence.
121 |     public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
122 | 		var result = [ElementOfResult]()
123 |         try queue.sync { result = try self.array.compactMap(transform) }
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
164 | 	}
165 |
166 | 	public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
    |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
167 | 		queue.async(flags: .barrier) {
168 | 			self.array.append(contentsOf: newElements)
[5/8] Compiling MemoryLayoutKit SynchronizedArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
119 | 	/// - Parameter transform: A closure that accepts an element of this sequence as its argument and returns an optional value.
120 | 	/// - Returns: An array of the non-nil results of calling transform with each element of the sequence.
121 |     public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
122 | 		var result = [ElementOfResult]()
123 |         try queue.sync { result = try self.array.compactMap(transform) }
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
164 | 	}
165 |
166 | 	public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
    |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
167 | 		queue.async(flags: .barrier) {
168 | 			self.array.append(contentsOf: newElements)
[6/8] Compiling MemoryLayoutKit MemoryLayoutKit.swift
[7/8] Compiling MemoryLayoutKit Array.swift
[8/8] Compiling MemoryLayoutKit Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | /// Feature to print data as hex array.
20 | public extension Data {
21 | 	public func hexEncodedString() -> String {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | 		return map { String(format: " 0x%02hhx", $0) }.joined()
23 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Data {
27 | 	public func decode<T>() -> T {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | 		let pointer = UnsafeMutablePointer<T>.allocate(capacity: MemoryLayout<T>.size)
29 | 		NSData(data: self).getBytes(pointer, length: MemoryLayout<T>.size)
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
33 | 	}
34 |
35 | 	public init<T>(fromArray values: [T]) {
   |  `- warning: 'public' modifier is redundant for initializer declared in a public extension
36 | 		var values = values
37 | 		self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | 	}
39 |
40 | 	public func toArray<T>(type: T.Type) -> [T] {
   |  `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | 		return self.withUnsafeBytes {
42 | 			[T](UnsafeBufferPointer(start: $0, count: self.count/MemoryLayout<T>.stride))
/Users/admin/builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:21: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
35 | 	public init<T>(fromArray values: [T]) {
36 | 		var values = values
37 | 		self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
   |                     |                          |- note: implicit argument conversion from '[T]' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                     |                          `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                     `- warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer [#TemporaryPointers]
38 | 	}
39 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (3.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MemoryLayoutKit",
  "name" : "MemoryLayoutKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MemoryLayoutKit",
      "targets" : [
        "MemoryLayoutKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MemoryLayoutKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MemoryLayoutKitTests",
      "path" : "Tests/MemoryLayoutKitTests",
      "sources" : [
        "MemoryLayoutKitTests.swift"
      ],
      "target_dependencies" : [
        "MemoryLayoutKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MemoryLayoutKit",
      "module_type" : "SwiftTarget",
      "name" : "MemoryLayoutKit",
      "path" : "Sources/MemoryLayoutKit",
      "product_memberships" : [
        "MemoryLayoutKit"
      ],
      "sources" : [
        "Array.swift",
        "Data.swift",
        "General.swift",
        "MemoryLayoutKit.swift",
        "SynchronizedArray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.