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.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananFoundation.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/zssz/BerkananFoundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/6] Compiling BerkananFoundation Types+DataRepresentable.swift
[4/6] Compiling BerkananFoundation DataRepresentable.swift
/Users/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/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/builder/builds/UKfvDsi8u/2/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))
                                                   ^
[5/6] Compiling BerkananFoundation String+Quotes.swift
[6/6] Emitting module BerkananFoundation
Build complete! (2.96s)
Build complete.
Done.