Build Information
Failed to build TensorFlow with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/octadero/tensorflow.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetching https://github.com/Octadero/CZlib.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/Octadero/Unarchiver.git
Fetching https://github.com/Octadero/CTensorFlow.git
[1/24] Fetching unarchiver
[25/40] Fetching unarchiver, ctensorflow
[41/94] Fetching unarchiver, ctensorflow, memorylayoutkit
[95/109] Fetching unarchiver, ctensorflow, memorylayoutkit, czlib
[110/247] Fetching unarchiver, ctensorflow, memorylayoutkit, czlib, mnistkit
Fetched https://github.com/Octadero/CZlib.git from cache (0.40s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (0.40s)
Fetched https://github.com/Octadero/CTensorFlow.git from cache (0.40s)
[1/33727] Fetching swift-protobuf
Fetched https://github.com/Octadero/MNISTKit.git from cache (5.13s)
Fetched https://github.com/Octadero/Unarchiver.git from cache (5.14s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.19s)
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/MNISTKit.git
Updating https://github.com/Octadero/CZlib.git
Updating https://github.com/apple/swift-protobuf.git
Updating https://github.com/Octadero/CTensorFlow.git
Updating https://github.com/Octadero/MemoryLayoutKit.git
Updating https://github.com/Octadero/Unarchiver.git
Updated https://github.com/Octadero/MNISTKit.git (0.19s)
Updated https://github.com/Octadero/MemoryLayoutKit.git (0.23s)
Updated https://github.com/Octadero/Unarchiver.git (0.23s)
Updated https://github.com/Octadero/CZlib.git (0.23s)
Updated https://github.com/Octadero/CTensorFlow.git (0.23s)
Updated https://github.com/apple/swift-protobuf.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 linux