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.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nrkno/yr-cachyr.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/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
========================================
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": "yr-cachyr",
      "name": "Cachyr",
      "url": "https://github.com/nrkno/yr-cachyr.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yr-cachyr",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nrkno/yr-cachyr.git
[1/425] Fetching yr-cachyr
Fetched https://github.com/nrkno/yr-cachyr.git (0.31s)
Creating working copy for https://github.com/nrkno/yr-cachyr.git
Working copy of https://github.com/nrkno/yr-cachyr.git resolved at master
warning: '.resolve-product-dependencies': dependency 'yr-cachyr' 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/7] Compiling Cachyr MemoryCache.swift
[2/7] Compiling Cachyr FileManager+xattr.swift
[3/7] Compiling Cachyr DataCache.swift
[4/7] Compiling Cachyr DataConvertable.swift
/Users/admin/builds/h8344Zi3/0/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/admin/builds/h8344Zi3/0/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/admin/builds/h8344Zi3/0/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))
                                                       ^
[5/7] Compiling Cachyr CacheLog.swift
[6/7] Compiling Cachyr DiskCache.swift
[7/7] Emitting module Cachyr
Build complete! (9.77s)
Build complete.
Done.