The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/octadero/tensorflow.git
Reference: 0.0.9
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/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 into spi-builder-workspace
05bd916611a780868bebb11ee8359d70968ed07f
SUCCESS checkout https://github.com/octadero/tensorflow.git at 0.0.9
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/Octadero/CTensorFlow.git from cache
Fetching https://github.com/Octadero/MemoryLayoutKit.git from cache
Fetching https://github.com/Octadero/Unarchiver.git from cache
Fetched https://github.com/Octadero/CTensorFlow.git (0.19s)
Fetching https://github.com/Octadero/CZlib.git from cache
Fetched https://github.com/Octadero/Unarchiver.git (0.25s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git (0.25s)
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/Octadero/MNISTKit.git from cache
Fetched https://github.com/Octadero/CZlib.git (0.27s)
Fetched https://github.com/Octadero/MNISTKit.git (0.25s)
Fetched https://github.com/apple/swift-protobuf.git (0.57s)
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.9' to specify the current Swift toolchain version as the lowest Swift version supported by the project
Retrying in 0 seconds ...
Building ... (attempt 2)
Updating https://github.com/Octadero/CZlib.git
Updating https://github.com/apple/swift-protobuf.git
Updating https://github.com/Octadero/Unarchiver.git
Updated https://github.com/Octadero/Unarchiver.git (0.26s)
Updated https://github.com/apple/swift-protobuf.git (0.26s)
Updated https://github.com/Octadero/CZlib.git (0.26s)
Updating https://github.com/Octadero/MNISTKit.git
Updating https://github.com/Octadero/CTensorFlow.git
Updating https://github.com/Octadero/MemoryLayoutKit.git
Updated https://github.com/Octadero/MNISTKit.git (0.22s)
Updated https://github.com/Octadero/CTensorFlow.git (0.22s)
Updated https://github.com/Octadero/MemoryLayoutKit.git (0.22s)
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.9' to specify the current Swift toolchain version as the lowest Swift version supported by the project
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 5