The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TensorRT, reference main (5f2c02), with Swift 6.1 for Android on 2 Feb 2026 02:30:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/tensorrt-swift.git
Reference: main
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/wendylabsinc/tensorrt-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5f2c024 Add TensorRT 8 stateless host execution
Cloned https://github.com/wendylabsinc/tensorrt-swift.git
Revision (git rev-parse @):
5f2c0248b0aa9bba9578e434380ac10244f16683
SUCCESS checkout https://github.com/wendylabsinc/tensorrt-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendylabsinc/tensorrt-swift.git
https://github.com/wendylabsinc/tensorrt-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TensorRT",
  "name" : "TensorRT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TensorRT",
      "targets" : [
        "TensorRT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TensorRTLLM",
      "targets" : [
        "TensorRTLLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HelloTensorRT",
      "targets" : [
        "HelloTensorRT"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ONNXInference",
      "targets" : [
        "ONNXInference"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BatchProcessing",
      "targets" : [
        "BatchProcessing"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DynamicBatching",
      "targets" : [
        "DynamicBatching"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MultiProfile",
      "targets" : [
        "MultiProfile"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AsyncInference",
      "targets" : [
        "AsyncInference"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ImageClassifier",
      "targets" : [
        "ImageClassifier"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DeviceMemoryPipeline",
      "targets" : [
        "DeviceMemoryPipeline"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "StreamingLLM",
      "targets" : [
        "StreamingLLM"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MultiGPU",
      "targets" : [
        "MultiGPU"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "CUDAEventPipelining",
      "targets" : [
        "CUDAEventPipelining"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BenchmarkSuite",
      "targets" : [
        "BenchmarkSuite"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FP16Quantization",
      "targets" : [
        "FP16Quantization"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "TextEmbedding",
      "targets" : [
        "TextEmbedding"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ObjectDetection",
      "targets" : [
        "ObjectDetection"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "WhisperTranscription",
      "targets" : [
        "WhisperTranscription"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "VisionTransformer",
      "targets" : [
        "VisionTransformer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "WhisperTranscription",
      "module_type" : "SwiftTarget",
      "name" : "WhisperTranscription",
      "path" : "Examples/WhisperTranscription",
      "product_memberships" : [
        "WhisperTranscription"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "VisionTransformer",
      "module_type" : "SwiftTarget",
      "name" : "VisionTransformer",
      "path" : "Examples/VisionTransformer",
      "product_memberships" : [
        "VisionTransformer"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TextEmbedding",
      "module_type" : "SwiftTarget",
      "name" : "TextEmbedding",
      "path" : "Examples/TextEmbedding",
      "product_memberships" : [
        "TextEmbedding"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TensorRTTests",
      "module_type" : "SwiftTarget",
      "name" : "TensorRTTests",
      "path" : "Tests/TensorRTTests",
      "sources" : [
        "TensorRTNativeTests.swift",
        "TensorRTTests.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TensorRTNative",
      "module_type" : "ClangTarget",
      "name" : "TensorRTNative",
      "path" : "Sources/TensorRTNative",
      "product_memberships" : [
        "TensorRT",
        "TensorRTLLM",
        "HelloTensorRT",
        "ONNXInference",
        "BatchProcessing",
        "DynamicBatching",
        "MultiProfile",
        "AsyncInference",
        "ImageClassifier",
        "DeviceMemoryPipeline",
        "StreamingLLM",
        "MultiGPU",
        "CUDAEventPipelining",
        "BenchmarkSuite",
        "FP16Quantization",
        "TextEmbedding",
        "ObjectDetection",
        "WhisperTranscription",
        "VisionTransformer"
      ],
      "sources" : [
        "TensorRTNative.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TensorRTLLM",
      "module_type" : "SwiftTarget",
      "name" : "TensorRTLLM",
      "path" : "Sources/TensorRTLLM",
      "product_memberships" : [
        "TensorRTLLM",
        "StreamingLLM"
      ],
      "sources" : [
        "Streaming.swift",
        "TensorRTLLM.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TensorRT",
      "module_type" : "SwiftTarget",
      "name" : "TensorRT",
      "path" : "Sources/TensorRT",
      "product_memberships" : [
        "TensorRT",
        "TensorRTLLM",
        "HelloTensorRT",
        "ONNXInference",
        "BatchProcessing",
        "DynamicBatching",
        "MultiProfile",
        "AsyncInference",
        "ImageClassifier",
        "DeviceMemoryPipeline",
        "StreamingLLM",
        "MultiGPU",
        "CUDAEventPipelining",
        "BenchmarkSuite",
        "FP16Quantization",
        "TextEmbedding",
        "ObjectDetection",
        "WhisperTranscription",
        "VisionTransformer"
      ],
      "sources" : [
        "Interop/NativeScaffolding.swift",
        "Interop/TensorRTRuntimeProbe.swift",
        "Interop/TensorRTSystem.swift",
        "TensorRT.swift",
        "_SwiftVersionCheck.swift"
      ],
      "target_dependencies" : [
        "TensorRTNative"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StreamingLLM",
      "module_type" : "SwiftTarget",
      "name" : "StreamingLLM",
      "path" : "ExamplesLLM/StreamingLLM",
      "product_memberships" : [
        "StreamingLLM"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRTLLM"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ObjectDetection",
      "module_type" : "SwiftTarget",
      "name" : "ObjectDetection",
      "path" : "Examples/ObjectDetection",
      "product_memberships" : [
        "ObjectDetection"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ONNXInference",
      "module_type" : "SwiftTarget",
      "name" : "ONNXInference",
      "path" : "Examples/ONNXInference",
      "product_memberships" : [
        "ONNXInference"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MultiProfile",
      "module_type" : "SwiftTarget",
      "name" : "MultiProfile",
      "path" : "Examples/MultiProfile",
      "product_memberships" : [
        "MultiProfile"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MultiGPU",
      "module_type" : "SwiftTarget",
      "name" : "MultiGPU",
      "path" : "Examples/MultiGPU",
      "product_memberships" : [
        "MultiGPU"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ImageClassifier",
      "module_type" : "SwiftTarget",
      "name" : "ImageClassifier",
      "path" : "Examples/ImageClassifier",
      "product_memberships" : [
        "ImageClassifier"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HelloTensorRT",
      "module_type" : "SwiftTarget",
      "name" : "HelloTensorRT",
      "path" : "Examples/HelloTensorRT",
      "product_memberships" : [
        "HelloTensorRT"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FP16Quantization",
      "module_type" : "SwiftTarget",
      "name" : "FP16Quantization",
      "path" : "Examples/FP16Quantization",
      "product_memberships" : [
        "FP16Quantization"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DynamicBatching",
      "module_type" : "SwiftTarget",
      "name" : "DynamicBatching",
      "path" : "Examples/DynamicBatching",
      "product_memberships" : [
        "DynamicBatching"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DeviceMemoryPipeline",
      "module_type" : "SwiftTarget",
      "name" : "DeviceMemoryPipeline",
      "path" : "Examples/DeviceMemoryPipeline",
      "product_memberships" : [
        "DeviceMemoryPipeline"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CUDAEventPipelining",
      "module_type" : "SwiftTarget",
      "name" : "CUDAEventPipelining",
      "path" : "Examples/CUDAEventPipelining",
      "product_memberships" : [
        "CUDAEventPipelining"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkSuite",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkSuite",
      "path" : "Examples/BenchmarkSuite",
      "product_memberships" : [
        "BenchmarkSuite"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BatchProcessing",
      "module_type" : "SwiftTarget",
      "name" : "BatchProcessing",
      "path" : "Examples/BatchProcessing",
      "product_memberships" : [
        "BatchProcessing"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AsyncInference",
      "module_type" : "SwiftTarget",
      "name" : "AsyncInference",
      "path" : "Examples/AsyncInference",
      "product_memberships" : [
        "AsyncInference"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TensorRT"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 android