The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TensorFlow with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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: master
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
 * 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:         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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Octadero/MemoryLayoutKit.git
Fetching https://github.com/Octadero/CTensorFlow.git
Fetching https://github.com/Octadero/Unarchiver.git
Fetching https://github.com/Octadero/CZlib.git
Fetching https://github.com/Octadero/MNISTKit.git
Fetching https://github.com/apple/swift-protobuf.git
[1/16] Fetching ctensorflow
[17/70] Fetching ctensorflow, memorylayoutkit
[38/208] Fetching ctensorflow, memorylayoutkit, mnistkit
[134/223] Fetching ctensorflow, memorylayoutkit, mnistkit, czlib
[161/247] Fetching ctensorflow, memorylayoutkit, mnistkit, czlib, unarchiver
[248/33974] Fetching ctensorflow, memorylayoutkit, mnistkit, czlib, unarchiver, swift-protobuf
Fetched https://github.com/Octadero/CZlib.git from cache (3.77s)
Fetched https://github.com/Octadero/MNISTKit.git from cache (5.46s)
Fetched https://github.com/Octadero/CTensorFlow.git from cache (5.46s)
Fetched https://github.com/Octadero/Unarchiver.git from cache (5.46s)
Fetched https://github.com/Octadero/MemoryLayoutKit.git from cache (5.46s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.52s)
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/Octadero/Unarchiver.git
Updating https://github.com/Octadero/CTensorFlow.git
Updating https://github.com/Octadero/CZlib.git
Updating https://github.com/apple/swift-protobuf.git
Updated https://github.com/Octadero/MemoryLayoutKit.git (0.19s)
Updating https://github.com/Octadero/MNISTKit.git
Updated https://github.com/Octadero/CTensorFlow.git (0.19s)
Updated https://github.com/Octadero/Unarchiver.git (0.19s)
Updated https://github.com/Octadero/CZlib.git (0.19s)
Updated https://github.com/Octadero/MNISTKit.git (0.17s)
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