The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorFlowLiteSwift with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kewlbear/TensorflowLiteSwift.git
Reference: 2.14.0
Cloned https://github.com/kewlbear/TensorflowLiteSwift.git into spi-builder-workspace
SUCCESS checkout https://github.com/kewlbear/TensorflowLiteSwift.git at 2.14.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Fetching https://github.com/kewlbear/TensorFlowLiteC.git
[1/2655] Fetching tensorflowlitec
Fetched https://github.com/kewlbear/TensorFlowLiteC.git (0.32s)
Creating working copy for https://github.com/kewlbear/TensorFlowLiteC.git
Working copy of https://github.com/kewlbear/TensorFlowLiteC.git resolved at master
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteC.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCCoreML.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCMetal.xcframework.zip
[1/16964] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCCoreML.xcframework.zip
[160/46048] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteC.xcframework.zip
[448/73329] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteC.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCMetal.xcframework.zip
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCCoreML.xcframework.zip (2.70s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteC.xcframework.zip (3.58s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/2.14.0/TensorFlowLiteCMetal.xcframework.zip (3.76s)
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

Building for debugging...
[1/2] Compiling Link TensorFlowLiteC.swift
[2/2] Emitting module Link
[5/13] 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
       ^
[6/14] 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/14] 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
       ^
[8/14] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[9/14] 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/14] 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
       ^
[11/14] 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
       ^
[12/14] 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
       ^
[13/14] 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
       ^
[14/14] 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
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2