The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WireGuard 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/operatorfoundation/wireguard.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/operatorfoundation/wireguard
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ad36cd Tests and Dependencies
Cloned https://github.com/operatorfoundation/wireguard.git
Revision (git rev-parse @):
7ad36cd1b0557c487ad79418a45d789e00b4fb4a
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/operatorfoundation/wireguard.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Fetching https://github.com/OperatorFoundation/Transport.git from cache
Fetching https://github.com/OperatorFoundation/Datable.git from cache
Fetching https://github.com/Bouke/INI from cache
Fetching https://github.com/OperatorFoundation/HKDFKit.git from cache
Fetching https://github.com/OperatorFoundation/swift-sodium.git from cache
Fetching https://github.com/OperatorFoundation/Blake2.git from cache
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.22s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (0.24s)
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (0.24s)
Fetched https://github.com/Bouke/INI from cache (0.24s)
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.24s)
Fetched https://github.com/OperatorFoundation/HKDFKit.git from cache (0.24s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.19s)
Computing version for https://github.com/Bouke/INI
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 5.10' to specify the current tools version
Updating https://github.com/OperatorFoundation/Transport.git
Updating https://github.com/OperatorFoundation/HKDFKit.git
Updating https://github.com/OperatorFoundation/swift-sodium.git
Updating https://github.com/OperatorFoundation/Blake2.git
Updating https://github.com/OperatorFoundation/Datable.git
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updated https://github.com/OperatorFoundation/HKDFKit.git (0.18s)
Updating https://github.com/Bouke/INI
Updated https://github.com/OperatorFoundation/Datable.git (0.20s)
Updated https://github.com/OperatorFoundation/swift-sodium.git (0.23s)
Updated https://github.com/OperatorFoundation/Blake2.git (0.23s)
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.23s)
Updated https://github.com/OperatorFoundation/Transport.git (0.24s)
Updated https://github.com/Bouke/INI (0.15s)
Computing version for https://github.com/Bouke/INI
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 5.10' to specify the current tools version
BUILD FAILURE 5.10 macosSpm