The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorFlow with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

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
Cloned https://github.com/octadero/tensorflow.git into spi-builder-workspace
SUCCESS checkout https://github.com/octadero/tensorflow.git at 0.0.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Octadero/CTensorFlow.git
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/Octadero/CZlib.git
[1/138] Fetching mnistkit
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetched https://github.com/Octadero/CZlib.git (0.23s)
Fetched https://github.com/Octadero/CTensorFlow.git (0.23s)
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/Octadero/MNISTKit.git (0.31s)
Fetching https://github.com/Octadero/Unarchiver.git
Fetched https://github.com/Octadero/MemoryLayoutKit.git (0.35s)
[1/29782] Fetching swift-protobuf
Fetched https://github.com/Octadero/Unarchiver.git (0.38s)
Fetched https://github.com/apple/swift-protobuf.git (5.32s)
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
BUILD FAILURE 5.9 linux

Build Machine: Linux 2