The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ibuild with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ian-mcdowell/ibuild.git
Reference: 1.1.1
Cloned https://github.com/ian-mcdowell/ibuild.git into spi-builder-workspace
SUCCESS checkout https://github.com/ian-mcdowell/ibuild.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-llbuild.git
[1/21613] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git (2.23s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at master
Building for debugging...
[0/64] Compiling llvmSupport Valgrind.cpp
[1/64] Compiling llvmSupport Threading.cpp
[2/64] Compiling llvmSupport TimeValue.cpp
[3/64] Compiling llvmSupport circular_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.
[4/64] Compiling llvmSupport Unicode.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.
[5/64] Compiling llvmSupport Twine.cpp
[6/64] Compiling llvmSupport StringMap.cpp
[7/64] Compiling llvmSupport StringRef.cpp
[8/64] Compiling llvmSupport raw_ostream.cpp
[9/64] Compiling llvmSupport StringExtras.cpp
[10/64] Compiling llvmSupport SmallPtrSet.cpp
[11/64] Compiling llvmSupport SmallVector.cpp
[12/64] Compiling llvmSupport Mutex.cpp
[13/64] Compiling llvmSupport YAMLParser.cpp
[14/64] Compiling llvmSupport MathExtras.cpp
[15/64] Compiling llvmSupport SourceMgr.cpp
[16/64] Compiling llvmSupport ManagedStatic.cpp
[17/64] Compiling llvmSupport Program.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.
[18/64] Compiling llvmSupport Path.cpp
[18/64] Compiling llvmSupport IntrusiveRefCntPtr.cpp
[18/64] Compiling llvmSupport Memory.cpp
[18/64] Compiling llvmSupport Locale.cpp
[18/64] Compiling llvmSupport MemoryBuffer.cpp
[18/64] Compiling llvmSupport Process.cpp
[18/64] Compiling llvmSupport Hashing.cpp
[18/64] Compiling llvmSupport Signals.cpp
BUILD FAILURE 5.9 linux

Build Machine: Linux 2