The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Cachyr 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/nrkno/yr-cachyr.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/nrkno/yr-cachyr
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 74e48d4 Updated readme with SPM info
Cloned https://github.com/nrkno/yr-cachyr.git
Revision (git rev-parse @):
74e48d428a9b399e3fa4745f0634983d4f66a4c8
SUCCESS checkout https://github.com/nrkno/yr-cachyr.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/nrkno/yr-cachyr.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/9] Compiling Cachyr DataCache.swift
[4/9] Compiling Cachyr MemoryCache.swift
[5/9] Compiling Cachyr FileManager+xattr.swift
[6/9] 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))
                                                       ^
[7/9] Compiling Cachyr DiskCache.swift
[8/9] Compiling Cachyr CacheLog.swift
[9/9] Emitting module Cachyr
Build complete! (4.00s)
Build complete.
Done.