The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of MemoryLayoutKit with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Octadero/MemoryLayoutKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Octadero/MemoryLayoutKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "memorylayoutkit",
      "name": "MemoryLayoutKit",
      "url": "https://github.com/Octadero/MemoryLayoutKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MemoryLayoutKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Octadero/MemoryLayoutKit.git
[2/54] Fetching memorylayoutkit
Fetched https://github.com/Octadero/MemoryLayoutKit.git (0.26s)
Creating working copy for https://github.com/Octadero/MemoryLayoutKit.git
Working copy of https://github.com/Octadero/MemoryLayoutKit.git resolved at master
warning: '.resolve-product-dependencies': dependency 'memorylayoutkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling MemoryLayoutKit MemoryLayoutKit.swift
[2/6] Compiling MemoryLayoutKit Data.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func hexEncodedString() -> String {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func decode<T>() -> T {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
        public init<T>(fromArray values: [T]) {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func toArray<T>(type: T.Type) -> [T] {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:21: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer
                self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:48: note: implicit argument conversion from '[T]' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
                self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
                                                             ^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:48: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
                                                             ^
[3/6] Compiling MemoryLayoutKit General.swift
[4/6] Emitting module MemoryLayoutKit
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func hexEncodedString() -> String {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func decode<T>() -> T {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
        public init<T>(fromArray values: [T]) {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func toArray<T>(type: T.Type) -> [T] {
        ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
    ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
        ^~~~~~~

[5/6] Compiling MemoryLayoutKit Array.swift
[6/6] Compiling MemoryLayoutKit SynchronizedArray.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
    public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
    ^~~~~~~

/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
        ^~~~~~~

Build complete! (8.63s)
Build complete.
Done.