Build Information
Failed to build SGPKit 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/csanfilippo/swift-sgp4.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/csanfilippo/swift-sgp4
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cbc9a67 Introducing TLEParser
Cloned https://github.com/csanfilippo/swift-sgp4.git
Revision (git rev-parse @):
cbc9a67b1851541d939b0106e003d85c7257ce63
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/csanfilippo/swift-sgp4.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/csanfilippo/swift-sgp4.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/23] Compiling SGPKitCPP Globals.cc
[3/23] Write swift-version-6F35C1178C84523A.txt
[4/23] Compiling SGPKitCPP SatelliteException.cc
[5/23] Compiling SGPKitCPP CoordTopocentric.cc
[6/23] Compiling SGPKitCPP DecayedException.cc
[7/23] Compiling SGPKitCPP DateTime.cc
[8/23] Compiling SGPKitCPP Eci.cc
[9/23] Compiling SGPKitCPP Observer.cc
[10/23] Compiling SGPKitCPP SolarPosition.cc
[11/23] Compiling SGPKitCPP OrbitalElements.cc
[12/23] Compiling SGPKitCPP SGP4.cc
[13/23] Write sources
[14/23] Compiling SGPKitCPP TleException.cc
[15/23] Compiling SGPKitCPP Vector.cc
[16/23] Compiling SGPKitCPP CoordGeodetic.cc
[17/23] Compiling SGPKitCPP TimeSpan.cc
[18/23] Compiling SGPKitCPP Tle.cc
/Users/admin/builder/spi-builder-workspace/Sources/sgp4-f5cb54b/Util.cc:28:30: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
28 | struct IsDigit: std::unary_function<char, bool>
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
/Users/admin/builder/spi-builder-workspace/Sources/sgp4-f5cb54b/Util.cc:40:55: warning: 'not1<Util::(anonymous namespace)::IsDigit>' is deprecated [-Wdeprecated-declarations]
40 | std::find_if(s.begin(), s.end(), std::not1(IsDigit())));
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__functional/unary_negate.h:39:1: note: 'not1<Util::(anonymous namespace)::IsDigit>' has been explicitly marked deprecated here
39 | _LIBCPP_DEPRECATED_IN_CXX17 inline _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_INLINE_VISIBILITY
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__config:1037:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1037 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED'
1010 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
/Users/admin/builder/spi-builder-workspace/Sources/sgp4-f5cb54b/Util.cc:45:57: warning: 'not1<Util::(anonymous namespace)::IsDigit>' is deprecated [-Wdeprecated-declarations]
45 | s.erase(std::find_if(s.rbegin(), s.rend(), std::not1(IsDigit())).base(),
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__functional/unary_negate.h:39:1: note: 'not1<Util::(anonymous namespace)::IsDigit>' has been explicitly marked deprecated here
39 | _LIBCPP_DEPRECATED_IN_CXX17 inline _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_INLINE_VISIBILITY
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__config:1037:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
1037 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__config:1010:49: note: expanded from macro '_LIBCPP_DEPRECATED'
1010 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
2 warnings and 1 error generated.
[19/23] Compiling SGPKitCPP Util.cc
[19/23] Compiling SGPKitOBJC SatelliteData.m
[19/23] Compiling SGPKitOBJC SGP4Wrapper.mm
[19/23] Compiling SGPKitOBJC TLEWrapper.m
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/1458] Fetching swift-docc-plugin
[643/16007] Fetching swift-docc-plugin, quick
[16008/34647] Fetching swift-docc-plugin, quick, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (2.66s)
Fetched https://github.com/Quick/Quick from cache (2.66s)
Fetched https://github.com/Quick/Nimble from cache (2.66s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 10.0.0 (0.70s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1247] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.89s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.69s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.70s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2857] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.77s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/439] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.76s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.72s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 10.0.0
BUILD FAILURE 6.0 macosSpm