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 Swifty-LLVM, reference main (509567), with Swift 6.1 for Linux on 30 Apr 2025 09:47:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hylo-lang/Swifty-LLVM.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/hylo-lang/Swifty-LLVM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5095674 Ensure proper alignment for store instructions. (#83)
Cloned https://github.com/hylo-lang/Swifty-LLVM.git
Revision (git rev-parse @):
509567462dfff80f93244884876dba27858453ef
SUCCESS checkout https://github.com/hylo-lang/Swifty-LLVM.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hylo-lang/Swifty-LLVM.git
https://github.com/hylo-lang/Swifty-LLVM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
  ],
  "manifest_display_name" : "Swifty-LLVM",
  "name" : "Swifty-LLVM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyLLVM",
      "targets" : [
        "SwiftyLLVM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llvmshims",
      "module_type" : "ClangTarget",
      "name" : "llvmshims",
      "path" : "Sources/llvmshims",
      "product_memberships" : [
        "SwiftyLLVM"
      ],
      "sources" : [
        "src/shim.cc"
      ],
      "target_dependencies" : [
        "llvmc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "llvmc",
      "module_type" : "SystemLibraryTarget",
      "name" : "llvmc",
      "path" : "Sources/llvmc",
      "product_memberships" : [
        "SwiftyLLVM"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "SwiftyLLVM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyLLVM",
      "path" : "Sources/SwiftyLLVM",
      "product_memberships" : [
        "SwiftyLLVM"
      ],
      "sources" : [
        "AddressSpace.swift",
        "AtomicOrdering.swift",
        "AtomicRMWBinOp.swift",
        "BasicBlock.swift",
        "CodeGenerationResultType.swift",
        "CodeModel.swift",
        "DataLayout.swift",
        "InsertionPoint.swift",
        "LLVMError.swift",
        "Linkage.swift",
        "MemoryBuffer.swift",
        "Module.swift",
        "OptimizationLevel.swift",
        "Refs.swift",
        "RelocationModel.swift",
        "Target.swift",
        "TargetMachine.swift",
        "Types/AnyType.swift",
        "Types/ArrayType.swift",
        "Types/FloatingPointType.swift",
        "Types/FunctionType.swift",
        "Types/IRType.swift",
        "Types/IntegerType.swift",
        "Types/PointerType.swift",
        "Types/StructType.swift",
        "Types/VoidType.swift",
        "Utils/ManagedPointer.swift",
        "Utils/String+Extensions.swift",
        "Values/Constants/AggregateConstant.swift",
        "Values/Constants/AnyValue.swift",
        "Values/Constants/ArrayConstant.swift",
        "Values/Constants/Attribute.swift",
        "Values/Constants/FloatingPointConstant.swift",
        "Values/Constants/Function+Attributes.swift",
        "Values/Constants/Function.swift",
        "Values/Constants/IntegerConstant.swift",
        "Values/Constants/Intrinsic.swift",
        "Values/Constants/Parameter+Attributes.swift",
        "Values/Constants/Parameter.swift",
        "Values/Constants/Poison.swift",
        "Values/Constants/StringConstant.swift",
        "Values/Constants/StructConstant.swift",
        "Values/Constants/Undefined.swift",
        "Values/Global.swift",
        "Values/GlobalVariable.swift",
        "Values/IRValue.swift",
        "Values/Instructions/Alloca.swift",
        "Values/Instructions/FloatingPointPredicate.swift",
        "Values/Instructions/Instruction.swift",
        "Values/Instructions/IntegerPredicate.swift",
        "Values/Instructions/OverflowBehavior.swift"
      ],
      "target_dependencies" : [
        "llvmc",
        "llvmshims"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LLVMTests",
      "module_type" : "SwiftTarget",
      "name" : "LLVMTests",
      "path" : "Tests/LLVMTests",
      "sources" : [
        "CodeGenerationTests.swift",
        "DataLayoutTests.swift",
        "MemoryBufferTests.swift",
        "ModuleTests.swift",
        "TargetMachineTests.swift",
        "TargetTests.swift",
        "Types/ArrayTypeTests.swift",
        "Types/FloatingPointTypeTests.swift",
        "Types/FunctionTypeTests.swift",
        "Types/IRTypeTests.swift",
        "Types/IntegerTypeTests.swift",
        "Types/PointerTypeTests.swift",
        "Types/StructTypeTests.swift",
        "Types/VoidTypeTests.swift",
        "Utils/StringTests.swift",
        "Values/Constants/ArrayConstantTests.swift",
        "Values/Constants/AttributeTests.swift",
        "Values/Constants/FloatingPointConstantTests.swift",
        "Values/Constants/FunctionTests.swift",
        "Values/Constants/IntegerConstantTests.swift",
        "Values/Constants/IntrinsicTests.swift",
        "Values/Constants/ParameterTests.swift",
        "Values/Constants/PoisonTests.swift",
        "Values/Constants/StringConstantTests.swift",
        "Values/Constants/StructConstantTests.swift",
        "Values/Constants/UndefinedTests.swift",
        "Values/GlobalVariableTests.swift",
        "Values/IRValueTests.swift",
        "Values/Instructions/AllocaTests.swift",
        "Values/Instructions/SwitchTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyLLVM"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: couldn't find pc file for llvm
warning: couldn't find pc file for llvm
Building for debugging...
[0/3] Write sources
/host/spi-builder-workspace/Sources/llvmshims/src/shim.cc:15:10: fatal error: 'llvm-c/TargetMachine.h' file not found
   15 | #include "llvm-c/TargetMachine.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling shim.cc
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: couldn't find pc file for llvm
warning: couldn't find pc file for llvm
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/llvmshims/src/shim.cc:15:10: fatal error: 'llvm-c/TargetMachine.h' file not found
   15 | #include "llvm-c/TargetMachine.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling shim.cc
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux