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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/octadero/tensorflow
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3c0a683 Add Input interaction.
Cloned https://github.com/octadero/tensorflow.git
Revision (git rev-parse @):
3c0a683ae4d38abf663ada28ac897eff25fb27f8
SUCCESS checkout https://github.com/octadero/tensorflow.git at master
========================================
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/apple/swift-protobuf.git from cache
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetching https://github.com/Octadero/CTensorFlow.git
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/Octadero/Unarchiver.git from cache
Fetching https://github.com/Octadero/CZlib.git from cache
Fetched https://github.com/Octadero/Unarchiver.git from cache (0.19s)
Fetched https://github.com/Octadero/CZlib.git from cache (0.18s)
[1/138] Fetching mnistkit
[22/192] Fetching mnistkit, memorylayoutkit
[42/208] Fetching mnistkit, memorylayoutkit, ctensorflow
Fetched https://github.com/apple/swift-protobuf.git from cache (0.25s)
Fetched https://github.com/Octadero/CTensorFlow.git from cache (0.25s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (0.25s)
Fetched https://github.com/Octadero/MNISTKit.git from cache (0.25s)
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/apple/swift-protobuf.git
Updating https://github.com/Octadero/MemoryLayoutKit.git
Updating https://github.com/Octadero/CTensorFlow.git
Updating https://github.com/Octadero/MNISTKit.git
Updating https://github.com/Octadero/Unarchiver.git
Updating https://github.com/Octadero/CZlib.git
Updated https://github.com/Octadero/CTensorFlow.git (0.16s)
Updated https://github.com/Octadero/MNISTKit.git (0.16s)
Updated https://github.com/Octadero/CZlib.git (0.16s)
Updated https://github.com/Octadero/MemoryLayoutKit.git (0.16s)
Updated https://github.com/Octadero/Unarchiver.git (0.16s)
Updated https://github.com/apple/swift-protobuf.git (0.20s)
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

Build Machine: Mac 7