The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nrkno/yr-cachyr.git
Reference: 1.3.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/nrkno/yr-cachyr
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 97aa6e9 Added SPM support (#7)
Cloned https://github.com/nrkno/yr-cachyr.git into spi-builder-workspace
97aa6e9b6154656190e0949bcc45f44fb65aec88
SUCCESS checkout https://github.com/nrkno/yr-cachyr.git at 1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/7] Compiling Cachyr DataCache.swift
[2/7] Compiling Cachyr CacheLog.swift
[3/7] Compiling Cachyr DataConvertable.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataConvertable.swift:55:29: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
        return Data(buffer: UnsafeBufferPointer(start: &theValue, count: 1))
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataConvertable.swift:55:56: 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: &theValue, count: 1))
                                                       ^~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DataConvertable.swift:55:56: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
        return Data(buffer: UnsafeBufferPointer(start: &theValue, count: 1))
                                                       ^
[4/7] Compiling Cachyr MemoryCache.swift
[5/7] Compiling Cachyr FileManager+xattr.swift
[6/7] Emitting module Cachyr
[7/7] Compiling Cachyr DiskCache.swift
Build complete! (3.81s)
Build complete.
Done.