Build Information
Failed to build APNS with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/mono0926/apns.git
Reference: 0.1.3
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/mono0926/apns
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at bd12913 Add Environment test
Cloned https://github.com/mono0926/apns.git
Revision (git rev-parse @):
bd12913d4514fabc72a750ce2f7aa2a0774e731e
SUCCESS checkout https://github.com/mono0926/apns.git at 0.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/mono0926/apns.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/clibressl.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/506] Fetching bits, random
[507/577] Fetching bits, random, ctls
[578/20720] Fetching bits, random, ctls, core
[1183/24085] Fetching bits, random, ctls, core, clibressl
Fetched https://github.com/vapor/bits.git from cache (0.32s)
Fetching https://github.com/vapor/debugging.git
[4015/23727] Fetching random, ctls, core, clibressl
Fetched https://github.com/vapor/ctls.git from cache (0.33s)
[4178/23656] Fetching random, core, clibressl
Fetching https://github.com/vapor/crypto.git
[5758/36212] Fetching random, core, clibressl, cryptoswift
[20840/36472] Fetching random, core, clibressl, cryptoswift, debugging
[21168/39258] Fetching random, core, clibressl, cryptoswift, debugging, crypto
Fetched https://github.com/vapor/debugging.git from cache (0.24s)
[22914/38998] Fetching random, core, clibressl, cryptoswift, crypto
Fetching https://github.com/vapor/json.git
Fetched https://github.com/vapor/crypto.git from cache (0.33s)
Fetching https://github.com/vapor/jwt.git
[26419/36212] Fetching random, core, clibressl, cryptoswift
[27173/37210] Fetching random, core, clibressl, cryptoswift, json
[27782/39639] Fetching random, core, clibressl, cryptoswift, json, jwt
Fetched https://github.com/vapor/jwt.git from cache (0.29s)
Fetching https://github.com/vapor/node.git
[27907/37210] Fetching random, core, clibressl, cryptoswift, json
Fetched https://github.com/vapor/json.git from cache (0.55s)
[1/4211] Fetching node
Fetched https://github.com/vapor/node.git from cache (0.32s)
Fetched https://github.com/vapor/random.git from cache (1.51s)
Fetched https://github.com/vapor/clibressl.git from cache (1.52s)
Computing version for https://github.com/vapor/clibressl.git
Fetched https://github.com/vapor/core.git from cache (1.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.54s)
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/vapor/core.git
Updating https://github.com/vapor/node.git
Updating https://github.com/vapor/debugging.git
Updating https://github.com/vapor/json.git
Updating https://github.com/vapor/bits.git
Updating https://github.com/vapor/ctls.git
Updated https://github.com/vapor/core.git (0.16s)
Updating https://github.com/vapor/clibressl.git
Updated https://github.com/vapor/bits.git (0.17s)
Updated https://github.com/vapor/ctls.git (0.18s)
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updating https://github.com/vapor/random.git
Updated https://github.com/vapor/debugging.git (0.18s)
Updated https://github.com/vapor/node.git (0.18s)
Updated https://github.com/vapor/json.git (0.18s)
Updating https://github.com/vapor/jwt.git
Updating https://github.com/vapor/crypto.git
Updated https://github.com/vapor/clibressl.git (0.16s)
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.14s)
Updated https://github.com/vapor/random.git (0.15s)
Updated https://github.com/vapor/jwt.git (0.15s)
Computing version for https://github.com/vapor/clibressl.git
Updated https://github.com/vapor/crypto.git (0.16s)
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