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 BerkananFoundation 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/zssz/BerkananFoundation.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/zssz/BerkananFoundation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fdc3d36 First commit
Cloned https://github.com/zssz/BerkananFoundation.git
Revision (git rev-parse @):
fdc3d368825be15810195113b4275970bdda6b3a
SUCCESS checkout https://github.com/zssz/BerkananFoundation.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "berkananfoundation",
      "name": "BerkananFoundation",
      "url": "https://github.com/zssz/BerkananFoundation.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BerkananFoundation",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/zssz/BerkananFoundation.git
[2/23] Fetching berkananfoundation
Fetched https://github.com/zssz/BerkananFoundation.git (0.32s)
Creating working copy for https://github.com/zssz/BerkananFoundation.git
Working copy of https://github.com/zssz/BerkananFoundation.git resolved at master
warning: '.resolve-product-dependencies': dependency 'berkananfoundation' 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/4] Compiling BerkananFoundation DataRepresentable.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:25: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:52: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                                                   ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:52: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
                                                   ^
[2/4] Compiling BerkananFoundation Types+DataRepresentable.swift
[3/4] Emitting module BerkananFoundation
[4/4] Compiling BerkananFoundation String+Quotes.swift
Build complete! (9.82s)
Build complete.
Done.