Build Information
Failed to build llvm-api, reference v0.3.0 (174917
), with Swift 5.10 for Linux on 27 Jul 2024 14:09:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrLSD/llvm-api-swift.git
Reference: v0.3.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/mrLSD/llvm-api-swift
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 174917d Merge pull request #5 from mrLSD/feat/restructure-2
Cloned https://github.com/mrLSD/llvm-api-swift.git
Revision (git rev-parse @):
174917ddf6d943407c40c5c299abd1d4bf2633a2
SUCCESS checkout https://github.com/mrLSD/llvm-api-swift.git at v0.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/mrLSD/llvm-api-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
warning: couldn't find pc file for llvm
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/27] Emitting module LLVM
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[4/30] Compiling LLVM Expressions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[5/30] Compiling LLVM Scalar.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[6/30] Compiling LLVM Value.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[7/30] Compiling LLVM Diagnostic.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[8/30] Compiling LLVM Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[9/30] Compiling LLVM Modules.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[10/30] Compiling LLVM Array.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[11/30] Compiling LLVM Void.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[12/30] Compiling LLVM X86AMX.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[13/30] Compiling LLVM X86MMX.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[14/30] Compiling LLVM Vector.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[15/30] Compiling LLVM Composite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[16/30] Compiling LLVM Constants.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[17/30] Compiling LLVM Float.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[18/30] Compiling LLVM Function.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[19/30] Compiling LLVM Int.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[20/30] Compiling LLVM Label.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[21/30] Compiling LLVM Pointer.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[22/30] Compiling LLVM Struct.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[23/30] Compiling LLVM Types.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[24/30] Compiling LLVM Metadata.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[25/30] Compiling LLVM TargetExt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[26/30] Compiling LLVM Token.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[27/30] Compiling LLVM AddressSpace.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[28/30] Compiling LLVM BasicBlock.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[29/30] Compiling LLVM Context.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
[30/30] Compiling LLVM Core.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "bridge.h"
^
/host/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
^
/host/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build C module 'CLLVM'
import CLLVM
^
error: fatalError
BUILD FAILURE 5.10 linux