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-4606859-1":/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: master
Cloned https://github.com/operatorfoundation/wireguard.git into spi-builder-workspace
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/OperatorFoundation/Transport.git
Fetching https://github.com/OperatorFoundation/Datable.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/425] Fetching transport
[392/12852] Fetching transport, cryptoswift
[12853/13220] Fetching transport, cryptoswift, datable
Fetching https://github.com/Bouke/INI
Fetched https://github.com/OperatorFoundation/Datable.git (1.26s)
Fetched https://github.com/OperatorFoundation/Transport.git (1.26s)
Fetching https://github.com/OperatorFoundation/swift-sodium.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.29s)
Fetching https://github.com/OperatorFoundation/HKDFKit.git
[1/151] Fetching ini
Fetched https://github.com/Bouke/INI (0.19s)
Fetching https://github.com/OperatorFoundation/Blake2.git
[1/111] Fetching hkdfkit
Fetched https://github.com/OperatorFoundation/HKDFKit.git (0.20s)
[1/3810] Fetching swift-sodium
Fetched https://github.com/OperatorFoundation/Blake2.git (0.19s)
Fetched https://github.com/OperatorFoundation/swift-sodium.git (2.74s)
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 1