The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build WireGuard with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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: master
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
 * 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:         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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/swift-sodium.git
Fetching https://github.com/OperatorFoundation/Transport.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/OperatorFoundation/Datable.git
Fetching https://github.com/OperatorFoundation/HKDFKit.git
[1/151] Fetching ini
[152/262] Fetching ini, hkdfkit
[263/699] Fetching ini, hkdfkit, transport
[416/1098] Fetching ini, hkdfkit, transport, datable
[1099/13654] Fetching ini, hkdfkit, transport, datable, cryptoswift
[2355/17464] Fetching ini, hkdfkit, transport, datable, cryptoswift, swift-sodium
Fetched https://github.com/OperatorFoundation/HKDFKit.git from cache (0.36s)
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.37s)
Fetching https://github.com/OperatorFoundation/Blake2.git
[2047/16954] Fetching ini, transport, cryptoswift, swift-sodium
[3426/17006] Fetching ini, transport, cryptoswift, swift-sodium, blake2
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (0.30s)
[3676/16954] Fetching ini, transport, cryptoswift, swift-sodium
Fetched https://github.com/Bouke/INI from cache (3.75s)
Fetched https://github.com/OperatorFoundation/Transport.git from cache (3.75s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.78s)
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (3.83s)
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/Bouke/INI
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updating https://github.com/OperatorFoundation/HKDFKit.git
Updating https://github.com/OperatorFoundation/Transport.git
Updated https://github.com/OperatorFoundation/Datable.git (0.20s)
Updating https://github.com/OperatorFoundation/Blake2.git
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.22s)
Updated https://github.com/OperatorFoundation/swift-sodium.git (0.22s)
Updated https://github.com/OperatorFoundation/HKDFKit.git (0.22s)
Updated https://github.com/Bouke/INI (0.22s)
Updated https://github.com/OperatorFoundation/Transport.git (0.22s)
Updated https://github.com/OperatorFoundation/Blake2.git (0.17s)
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