The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorFlowLiteSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/kewlbear/TensorflowLiteSwift.git
Reference: 2.14.0
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/kewlbear/TensorflowLiteSwift
 * tag               2.14.0     -> FETCH_HEAD
HEAD is now at 2270100 add 0.0.20230921
Cloned https://github.com/kewlbear/TensorflowLiteSwift.git
Revision (git rev-parse @):
22701004ef95b41693cddb0f2720df89183cbb6a
SUCCESS checkout https://github.com/kewlbear/TensorflowLiteSwift.git at 2.14.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kewlbear/TensorflowLiteSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kewlbear/TensorFlowLiteC.git
[1/2982] Fetching tensorflowlitec
Fetched https://github.com/kewlbear/TensorFlowLiteC.git from cache (0.23s)
Creating working copy for https://github.com/kewlbear/TensorFlowLiteC.git
Working copy of https://github.com/kewlbear/TensorFlowLiteC.git resolved at master (22df490)
[1369/28314349] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCMetal.xcframework.zip
[2356750/45885198] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCMetal.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCCoreML.xcframework.zip
[4243713/78665556] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCMetal.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteC.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteC.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCCoreML.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCMetal.xcframework.zip
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCCoreML.xcframework.zip (2.07s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteCMetal.xcframework.zip (2.60s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20240217/TensorFlowLiteC.xcframework.zip (2.66s)
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/TensorFlowLite/README.md
    /host/spi-builder-workspace/Sources/TensorFlowLite/LICENSE
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Link
[5/5] Compiling Link TensorFlowLiteC.swift
[7/15] Compiling TensorFlowLite QuantizationParameters.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[8/16] Compiling TensorFlowLite TensorFlowLite.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module TensorFlowLite
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[10/16] Compiling TensorFlowLite Model.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[11/16] Compiling TensorFlowLite InterpreterError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[12/16] Compiling TensorFlowLite Delegate.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[13/16] Compiling TensorFlowLite Interpreter.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[14/16] Compiling TensorFlowLite Tensor.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[15/16] Compiling TensorFlowLite SignatureRunner.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[16/16] Compiling TensorFlowLite SignatureRunnerError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
error: fatalError
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/TensorFlowLite/LICENSE
    /host/spi-builder-workspace/Sources/TensorFlowLite/README.md
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling TensorFlowLite Model.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[3/10] Compiling TensorFlowLite InterpreterError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[4/11] Compiling TensorFlowLite Tensor.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[5/11] Compiling TensorFlowLite SignatureRunnerError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[6/11] Compiling TensorFlowLite TensorFlowLite.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[7/11] Compiling TensorFlowLite SignatureRunner.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[8/11] Compiling TensorFlowLite QuantizationParameters.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module TensorFlowLite
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[10/11] Compiling TensorFlowLite Delegate.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
[11/11] Compiling TensorFlowLite Interpreter.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
import TensorFlowLiteC
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1