Build Information
Failed to build APNS with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mono0926/apns.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mono0926/apns
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/mono0926/apns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/clibressl.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/jwt.git
[1/4211] Fetching node
[44/7576] Fetching node, clibressl
[45/7836] Fetching node, clibressl, debugging
[84/8194] Fetching node, clibressl, debugging, bits
[120/10980] Fetching node, clibressl, debugging, bits, crypto
[163/31123] Fetching node, clibressl, debugging, bits, crypto, core
[908/33630] Fetching node, clibressl, debugging, bits, crypto, core, jwt
Fetched https://github.com/vapor/jwt.git from cache (1.49s)
Fetching https://github.com/vapor/random.git
Fetched https://github.com/vapor/clibressl.git from cache (1.49s)
Fetched https://github.com/vapor/debugging.git from cache (1.49s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/vapor/json.git
Computing version for https://github.com/vapor/clibressl.git
Fetched https://github.com/vapor/node.git from cache (1.49s)
Fetching https://github.com/vapor/ctls.git
Fetched https://github.com/vapor/crypto.git from cache (1.50s)
Fetched https://github.com/vapor/bits.git from cache (1.50s)
Fetched https://github.com/vapor/core.git from cache (1.66s)
[1/998] Fetching json
[81/1146] Fetching json, random
[147/1217] Fetching json, random, ctls
[829/13871] Fetching json, random, ctls, cryptoswift
Fetched https://github.com/vapor/random.git from cache (1.36s)
Fetched https://github.com/vapor/json.git from cache (1.36s)
[2096/12725] Fetching ctls, cryptoswift
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
BUILD FAILURE 6.0 macosSpm