The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LLVM, reference main (ff7a88), with Swift 6.1 for Wasm on 27 May 2025 23:06:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/llvmswift.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/llvm-swift/llvmswift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff7a881 Merge pull request #241 from Snowy1803/master
Cloned https://github.com/llvm-swift/llvmswift.git
Revision (git rev-parse @):
ff7a881eabf97cbd43006223494850a970761533
SUCCESS checkout https://github.com/llvm-swift/llvmswift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/llvm-swift/llvmswift.git
https://github.com/llvm-swift/llvmswift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
    {
      "identity" : "filecheck",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/llvm-swift/FileCheck.git"
    }
  ],
  "manifest_display_name" : "LLVM",
  "name" : "LLVM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "LLVM",
      "targets" : [
        "LLVM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llvmshims",
      "module_type" : "ClangTarget",
      "name" : "llvmshims",
      "path" : "Sources/llvmshims",
      "product_memberships" : [
        "LLVM"
      ],
      "sources" : [
        "src/shim.cpp"
      ],
      "target_dependencies" : [
        "cllvm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "cllvm",
      "module_type" : "SystemLibraryTarget",
      "name" : "cllvm",
      "path" : "Sources/cllvm",
      "product_memberships" : [
        "LLVM"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "LLVMTests",
      "module_type" : "SwiftTarget",
      "name" : "LLVMTests",
      "path" : "Tests/LLVMTests",
      "product_dependencies" : [
        "FileCheck"
      ],
      "sources" : [
        "APIntSpec.swift",
        "BFC.swift",
        "BinarySpec.swift",
        "ConstantSpec.swift",
        "DIBuilderSpec.swift",
        "FIleCheckSpec.swift",
        "IRAttributesSpec.swift",
        "IRBuilderSpec.swift",
        "IRExceptionSpec.swift",
        "IRGlobalSpec.swift",
        "IRInstructionSpec.swift",
        "IRIntrinsicSpec.swift",
        "IRMetadataSpec.swift",
        "IROperationSpec.swift",
        "IRPassManagerSpec.swift",
        "JITSpec.swift",
        "ModuleLinkSpec.swift",
        "ModuleMetadataSpec.swift",
        "TripleSpec.swift",
        "UnitSpec.swift"
      ],
      "target_dependencies" : [
        "LLVM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLVM",
      "module_type" : "SwiftTarget",
      "name" : "LLVM",
      "path" : "Sources/LLVM",
      "product_memberships" : [
        "LLVM"
      ],
      "sources" : [
        "AddressSpace.swift",
        "Alias.swift",
        "Arbitrary.swift",
        "ArrayType.swift",
        "AttachedMetadata.swift",
        "BasicBlock.swift",
        "Call.swift",
        "CallingConvention.swift",
        "Clause.swift",
        "Comdat.swift",
        "Constant.swift",
        "Context.swift",
        "DIBuilder.swift",
        "DWARFExpression.swift",
        "FloatType.swift",
        "Function+Attributes.swift",
        "Function.swift",
        "FunctionType.swift",
        "Global.swift",
        "IRBuilder.swift",
        "IRGlobal.swift",
        "IRMetadata.swift",
        "IRType.swift",
        "IRValue+Kinds.swift",
        "IRValue.swift",
        "Initialization.swift",
        "Instruction.swift",
        "IntType.swift",
        "Intrinsic.swift",
        "JIT.swift",
        "LabelType.swift",
        "Linkage.swift",
        "MDBuilder.swift",
        "MemoryBuffer.swift",
        "MetadataAttributes.swift",
        "MetadataType.swift",
        "Module.swift",
        "NamedMetadata.swift",
        "ObjectFile.swift",
        "OpCode.swift",
        "Operation.swift",
        "PassManager.swift",
        "PassPipeliner.swift",
        "PhiNode.swift",
        "PointerType.swift",
        "StructType.swift",
        "Switch.swift",
        "TargetData.swift",
        "TargetMachine.swift",
        "TokenType.swift",
        "Triple.swift",
        "Units.swift",
        "Use.swift",
        "VectorType.swift",
        "VoidType.swift",
        "X86MMXType.swift"
      ],
      "target_dependencies" : [
        "cllvm",
        "llvmshims"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.67s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (1.36s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
Fetched https://github.com/mxcl/Chalk.git from cache (0.49s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.04s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.71s)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
warning: couldn't find pc file for cllvm
warning: couldn't find pc file for cllvm
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/4] Write sources
/host/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
    1 | #include "llvm-c/Core.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling shim.cpp
[2/4] 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for cllvm
warning: couldn't find pc file for cllvm
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
/host/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
    1 | #include "llvm-c/Core.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling shim.cpp
[1/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm