The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build flock with Swift 6.0 for visionOS using Xcode 16.2.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/naoty/flock.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naoty/flock
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at d2d9d55 Add Makefile
Cloned https://github.com/naoty/flock.git
Revision (git rev-parse @):
d2d9d55b2ffef1a7587ed5df182f4bedafb7dcc3
SUCCESS checkout https://github.com/naoty/flock.git at 0.1.0
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/naoty/flock.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
Resolved source packages:
  spi-builder-workspace: (null)
Resolve Package Graph
package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
2024-11-26 03:47:22.752 xcodebuild[467:2586] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-26-11_03-47-0022.xcresult
xcodebuild: error: Could not resolve package dependencies:
  package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
GENERIC FAILURE 6.0 visionOS