The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ibuild with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ian-mcdowell/ibuild.git
Reference: master
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/ian-mcdowell/ibuild
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0820d8b Fixed up after validation of projects
Cloned https://github.com/ian-mcdowell/ibuild.git
Revision (git rev-parse @):
0820d8bdfc4d207a9accf2b3428b56b57e76926d
SUCCESS checkout https://github.com/ian-mcdowell/ibuild.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ian-mcdowell/ibuild.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-llbuild.git
[1/22089] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (1.32s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at master (0125492)
Building for debugging...
[0/68] Compiling libllbuild C-API.cpp
[1/68] Write swift-version-24593BA9C3E375BF.txt
[2/68] Compiling llbuildBasic PlatformUtility.cpp
[3/68] Compiling llbuildBasic Hashing.cpp
[4/68] Compiling libllbuild Core-C-API.cpp
[5/68] Compiling llvmSupport Valgrind.cpp
[6/68] Compiling llbuildBasic FileInfo.cpp
[7/68] Compiling llbuildBuildSystem BuildValue.cpp
[8/68] Compiling llbuildBasic FileSystem.cpp
[9/68] Compiling llvmSupport Threading.cpp
[10/68] Compiling llvmSupport TimeValue.cpp
[11/68] Compiling llvmSupport circular_raw_ostream.cpp
[12/68] Compiling llvmSupport raw_ostream.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unicode.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/UnicodeCharRanges.h:15:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/Debug.h:93:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
        ^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
        ^
1 warning generated.
[13/68] Compiling llvmSupport Unicode.cpp
[14/68] Compiling libllbuild BuildSystem-C-API.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Twine.cpp:12:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/Debug.h:93:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
        ^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
        ^
1 warning generated.
[15/68] Compiling llvmSupport Twine.cpp
[16/68] Compiling llvmSupport StringRef.cpp
[17/68] Compiling llvmSupport SmallPtrSet.cpp
[18/68] Compiling llvmSupport StringExtras.cpp
[19/68] Compiling llvmSupport StringMap.cpp
[20/68] Compiling llvmSupport Mutex.cpp
[21/68] Compiling llvmSupport SmallVector.cpp
[22/68] Compiling llvmSupport YAMLParser.cpp
[23/68] Compiling llvmSupport MathExtras.cpp
[24/68] Compiling llvmSupport SourceMgr.cpp
[25/68] Compiling llvmSupport ManagedStatic.cpp
[26/68] Compiling llvmSupport Program.cpp
[27/68] Compiling llvmSupport Memory.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Path.cpp:14:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/COFF.h:541:5: error: expected identifier
    DEBUG,
    ^
<command line>:2:15: note: expanded from here
#define DEBUG 1
              ^
1 error generated.
[28/68] Compiling llvmSupport Path.cpp
[28/68] Compiling llvmSupport IntrusiveRefCntPtr.cpp
[28/68] Compiling llvmSupport Signals.cpp
[28/68] Compiling llvmSupport FileUtilities.cpp
[28/68] Compiling llvmSupport Locale.cpp
[28/68] Compiling llvmSupport MemoryBuffer.cpp
[28/68] Compiling llvmSupport Process.cpp
[28/68] Compiling llvmSupport Hashing.cpp
[0/1] Planning build
Building for debugging...
[0/41] Compiling llvmSupport IntrusiveRefCntPtr.cpp
[1/41] Compiling llvmSupport Locale.cpp
[2/41] Write swift-version-24593BA9C3E375BF.txt
[3/41] Compiling llvmSupport Hashing.cpp
[4/41] Compiling llvmSupport FileUtilities.cpp
[5/41] Compiling llvmSupport MemoryBuffer.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Path.cpp:14:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/COFF.h:541:5: error: expected identifier
    DEBUG,
    ^
<command line>:2:15: note: expanded from here
#define DEBUG 1
              ^
1 error generated.
[6/41] Compiling llvmSupport Path.cpp
[6/41] Compiling llvmSupport Signals.cpp
[6/41] Compiling llvmSupport Process.cpp
[6/41] Compiling llvmSupport ConvertUTFWrapper.cpp
[6/41] Compiling llvmSupport Debug.cpp
[6/41] Compiling llvmSupport ConvertUTF.c
[6/41] Compiling llvmSupport Errno.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/ErrorHandling.cpp:19:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/include/llvm/Support/Debug.h:93:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
#define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
        ^
<command line>:2:9: note: previous definition is here
#define DEBUG 1
        ^
1 warning generated.
[6/41] Compiling llvmSupport ErrorHandling.cpp
BUILD FAILURE 5.10 linux

Build Machine: Linux 2