The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorFlow with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/octadero/tensorflow.git
Reference: 0.0.9
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/octadero/tensorflow
 * tag               0.0.9      -> FETCH_HEAD
HEAD is now at 05bd916 TensorFlowKit 0.0.9 version is released, fixed memory leaks and updated SavedModel class.
Cloned https://github.com/octadero/tensorflow.git
Revision (git rev-parse @):
05bd916611a780868bebb11ee8359d70968ed07f
SUCCESS checkout https://github.com/octadero/tensorflow.git at 0.0.9
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/octadero/tensorflow.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Fetching https://github.com/Octadero/CZlib.git from cache
Fetching https://github.com/Octadero/MemoryLayoutKit.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/Octadero/MNISTKit.git from cache
Fetching https://github.com/Octadero/CTensorFlow.git from cache
Fetching https://github.com/Octadero/Unarchiver.git from cache
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (0.18s)
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.20s)
Fetched https://github.com/Octadero/MNISTKit.git from cache (0.28s)
Fetched https://github.com/Octadero/CTensorFlow.git from cache (0.28s)
Fetched https://github.com/Octadero/CZlib.git from cache (0.28s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.28s)
Computing version for https://github.com/apple/swift-protobuf.git
error: the Swift tools version specification is possibly missing a version specifier; consider using '// swift-tools-version: 5.10' to specify the current Swift toolchain version as the lowest Swift version supported by the project
Updating https://github.com/Octadero/MemoryLayoutKit.git
Updating https://github.com/apple/swift-protobuf.git
Updating https://github.com/Octadero/MNISTKit.git
Updating https://github.com/Octadero/CTensorFlow.git
Updating https://github.com/Octadero/Unarchiver.git
Updating https://github.com/Octadero/CZlib.git
Updated https://github.com/Octadero/Unarchiver.git (0.19s)
Updated https://github.com/Octadero/MemoryLayoutKit.git (0.19s)
Updated https://github.com/Octadero/MNISTKit.git (0.23s)
Updated https://github.com/Octadero/CZlib.git (0.23s)
Updated https://github.com/apple/swift-protobuf.git (0.23s)
Updated https://github.com/Octadero/CTensorFlow.git (0.23s)
Computing version for https://github.com/apple/swift-protobuf.git
error: the Swift tools version specification is possibly missing a version specifier; consider using '// swift-tools-version: 5.10' to specify the current Swift toolchain version as the lowest Swift version supported by the project
BUILD FAILURE 5.10 macosSpm