Build Information
Failed to build llvm-api, reference v0.3.0 (174917
), with Swift 5.9 for Linux on 27 Jul 2024 14:09:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: $PWD
https://github.com/mrLSD/llvm-api-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
warning: couldn't find pc file for llvm
Building for debugging...
[1/25] 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
^
[2/25] 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
^
[3/25] 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
^
[4/28] 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
^
[5/28] 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
^
[6/28] 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
^
[7/28] 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
^
[8/28] 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
^
[9/28] 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
^
[10/28] 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
^
[11/28] 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
^
[12/28] 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
^
[13/28] 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
^
[14/28] 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
^
[15/28] 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
^
[16/28] 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
^
[17/28] 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/28] 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/28] 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/28] 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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/28] 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
^
[22/28] 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
^
[23/28] 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
^
[24/28] 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
^
[25/28] 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
^
[26/28] 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
^
[27/28] 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
^
[28/28] 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
^
error: fatalError
BUILD FAILURE 5.9 linux