Build Information
Failed to build WireGuard with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/operatorfoundation/wireguard.git
Reference: 0.0.5
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/operatorfoundation/wireguard
* tag 0.0.5 -> FETCH_HEAD
HEAD is now at 974e6b1 Fixed encrypted_timestamp bug
Cloned https://github.com/operatorfoundation/wireguard.git
Revision (git rev-parse @):
974e6b1a041978f1b997d10cd876992e9f632ce2
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at 0.0.5
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/operatorfoundation/wireguard.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/OperatorFoundation/Blake2.git
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Fetching https://github.com/OperatorFoundation/Datable.git
Fetching https://github.com/OperatorFoundation/Transport.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/151] Fetching ini
[53/203] Fetching ini, blake2
[200/640] Fetching ini, blake2, transport
[637/1039] Fetching ini, blake2, transport, datable
[1036/1150] Fetching ini, blake2, transport, datable, hkdfkit
Fetched https://github.com/Bouke/INI from cache (0.33s)
Fetching https://github.com/OperatorFoundation/swift-sodium.git
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (0.33s)
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.33s)
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.34s)
[1/12556] Fetching cryptoswift
[1885/16366] Fetching cryptoswift, swift-sodium
Fetched https://github.com/OperatorFoundation/HKDFKit.git from cache (1.97s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.01s)
[1791/3810] Fetching swift-sodium
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (4.07s)
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/Datable.git
Updating https://github.com/OperatorFoundation/swift-sodium.git
Updating https://github.com/OperatorFoundation/Transport.git
Updating https://github.com/OperatorFoundation/Blake2.git
Updating https://github.com/OperatorFoundation/HKDFKit.git
Updating https://github.com/Bouke/INI
Updated https://github.com/Bouke/INI (0.18s)
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updated https://github.com/OperatorFoundation/Blake2.git (0.20s)
Updated https://github.com/OperatorFoundation/Transport.git (0.20s)
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.15s)
Updated https://github.com/OperatorFoundation/swift-sodium.git (0.38s)
Updated https://github.com/OperatorFoundation/Datable.git (0.38s)
Updated https://github.com/OperatorFoundation/HKDFKit.git (0.38s)
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 linux