The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WireGuard with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/operatorfoundation/wireguard.git
Reference: 0.0.5
Cloned https://github.com/operatorfoundation/wireguard.git into spi-builder-workspace
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at 0.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/111] Fetching hkdfkit
[112/262] Fetching hkdfkit, ini
Fetching https://github.com/OperatorFoundation/Datable.git
Fetched https://github.com/Bouke/INI (0.24s)
[1/12427] Fetching cryptoswift
[1866/12795] Fetching cryptoswift, datable
Fetched https://github.com/OperatorFoundation/Datable.git (0.24s)
Fetching https://github.com/OperatorFoundation/swift-sodium.git
[2113/12427] Fetching cryptoswift
[3481/16237] Fetching cryptoswift, swift-sodium
Fetched https://github.com/OperatorFoundation/HKDFKit.git (1.42s)
Fetching https://github.com/OperatorFoundation/Transport.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.46s)
Fetching https://github.com/OperatorFoundation/Blake2.git
[1334/3810] Fetching swift-sodium
[1487/4235] Fetching swift-sodium, transport
Fetched https://github.com/OperatorFoundation/Transport.git (0.26s)
[1524/3810] Fetching swift-sodium
Fetched https://github.com/OperatorFoundation/Blake2.git (0.26s)
Fetched https://github.com/OperatorFoundation/swift-sodium.git (3.37s)
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.9' to specify the current tools version
BUILD FAILURE 5.9 linux

Build Machine: Linux 2