Build Information
Failed to build BitVector, reference main (9ed6d1), with Swift 6.4 for Linux on 19 Sep 2026 09:36:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aggie33/BitVector.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/aggie33/BitVector
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9ed6d1a Create LICENSE
Cloned https://github.com/aggie33/BitVector.git
Revision (git rev-parse @):
9ed6d1a56c2e931ce25d5f20672ee1b6c51ac9f2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aggie33/BitVector.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/aggie33/BitVector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/aggie33/CopyOnWrite
[1/43] Fetching copyonwrite
Fetched https://github.com/aggie33/CopyOnWrite (0.40s)
Creating working copy for https://github.com/aggie33/CopyOnWrite
Working copy of https://github.com/aggie33/CopyOnWrite resolved at main (833607d)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/BitVector/Documentation.docc
Building for debugging...
[Pre-planning 1 / 96]
[24 / 40] CopyOnWrite
[28 / 43] CopyOnWrite
[41 / 53] BitVector
/host/spi-builder-workspace/Sources/BitVector/BitVector.swift:7:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'CFBitVector' to imported protocols 'PairReferenceCopyable', 'ReferenceCopyable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future[0;0m
[0;36m5 |[0;0m import CopyOnWrite
[0;36m6 |[0;0m
[0;36m7 |[0;0m extension CFBitVector: PairReferenceCopyable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'CFBitVector' to imported protocols 'PairReferenceCopyable', 'ReferenceCopyable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m8 |[0;0m public var immutable: CFBitVector {
[0;36m9 |[0;0m self
[42 / 53] BitVector
/host/spi-builder-workspace/Sources/BitVector/BitVector.swift:7:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'CFBitVector' to imported protocols 'PairReferenceCopyable', 'ReferenceCopyable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future[0;0m
[0;36m5 |[0;0m import CopyOnWrite
[0;36m6 |[0;0m
[0;36m7 |[0;0m extension CFBitVector: PairReferenceCopyable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'CFBitVector' to imported protocols 'PairReferenceCopyable', 'ReferenceCopyable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m8 |[0;0m public var immutable: CFBitVector {
[0;36m9 |[0;0m self
[44 / 53] BitVector
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile BitVector+CFBitVector.swift
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:20:19: [1;31merror: [1;39mcannot find 'CFBitVectorCreate' in scope[0;0m
[0;36m18 |[0;0m numBits: Int
[0;36m19 |[0;0m ) {
[0;36m20 |[0;0m self.init([4;39mCFBitVectorCreate[0;0m(nil, bytes, numBits))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorCreate' in scope[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:26:16: [1;31merror: [1;39mcannot find 'CFBitVectorContainsBit' in scope[0;0m
[0;36m24 |[0;0m public func contains(_ bit: Bit, in range: Range<Int>? = nil) -> Bool {
[0;36m25 |[0;0m let range = range ?? 0..<count
[0;36m26 |[0;0m return [4;39mCFBitVectorContainsBit[0;0m(
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorContainsBit' in scope[0;0m
[0;36m27 |[0;0m storage.immutable,
[0;36m28 |[0;0m CFRangeMake(range.lowerBound, range.count),
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:28:13: [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m26 |[0;0m return CFBitVectorContainsBit(
[0;36m27 |[0;0m storage.immutable,
[0;36m28 |[0;0m [4;39mCFRangeMake[0;0m(range.lowerBound, range.count),
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m29 |[0;0m bit.rawValue
[0;36m30 |[0;0m )
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:35:29: [1;31merror: [1;39mcannot find 'CFBitVectorGetBitAtIndex' in scope[0;0m
[0;36m33 |[0;0m /// Gets the bit at a given index.
[0;36m34 |[0;0m public subscript(index: Int) -> Bit {
[0;36m35 |[0;0m get { Bit(rawValue: [4;39mCFBitVectorGetBitAtIndex[0;0m(storage.immutable, index))! }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetBitAtIndex' in scope[0;0m
[0;36m36 |[0;0m set { CFBitVectorSetBitAtIndex(storage.mutable, index, newValue.rawValue) }
[0;36m37 |[0;0m }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:36:15: [1;31merror: [1;39mcannot find 'CFBitVectorSetBitAtIndex' in scope[0;0m
[0;36m34 |[0;0m public subscript(index: Int) -> Bit {
[0;36m35 |[0;0m get { Bit(rawValue: CFBitVectorGetBitAtIndex(storage.immutable, index))! }
[0;36m36 |[0;0m set { [4;39mCFBitVectorSetBitAtIndex[0;0m(storage.mutable, index, newValue.rawValue) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorSetBitAtIndex' in scope[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:42:9: [1;31merror: [1;39mcannot find 'CFBitVectorGetBits' in scope[0;0m
[0;36m40 |[0;0m public func copyBits(in range: Range<Int>? = nil, to pointer: UnsafeMutablePointer<UInt8>) {
[0;36m41 |[0;0m let range = range ?? 0..<count
[0;36m42 |[0;0m [4;39mCFBitVectorGetBits[0;0m(storage.immutable, CFRangeMake(range.lowerBound, range.count), pointer)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetBits' in scope[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:42:47: [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m40 |[0;0m public func copyBits(in range: Range<Int>? = nil, to pointer: UnsafeMutablePointer<UInt8>) {
[0;36m41 |[0;0m let range = range ?? 0..<count
[0;36m42 |[0;0m CFBitVectorGetBits(storage.immutable, [4;39mCFRangeMake[0;0m(range.lowerBound, range.count), pointer)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:47:15: [1;31merror: [1;39mcannot find 'CFBitVectorGetCount' in scope[0;0m
[0;36m45 |[0;0m /// The number of bits in the bit vector.
[0;36m46 |[0;0m public var count: Int {
[0;36m47 |[0;0m get { [4;39mCFBitVectorGetCount[0;0m(storage.immutable) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetCount' in scope[0;0m
[0;36m48 |[0;0m set { CFBitVectorSetCount(storage.mutable, newValue) }
[0;36m49 |[0;0m }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:48:15: [1;31merror: [1;39mcannot find 'CFBitVectorSetCount' in scope[0;0m
[0;36m46 |[0;0m public var count: Int {
[0;36m47 |[0;0m get { CFBitVectorGetCount(storage.immutable) }
[0;36m48 |[0;0m set { [4;39mCFBitVectorSetCount[0;0m(storage.mutable, newValue) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorSetCount' in scope[0;0m
[0;36m49 |[0;0m }
[0;36m50 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:54:16: [1;31merror: [1;39mcannot find 'CFBitVectorGetCountOfBit' in scope[0;0m
[0;36m52 |[0;0m public func count(of bit: Bit, in range: Range<Int>? = nil) -> Int {
[0;36m53 |[0;0m let range = range ?? 0..<count
[0;36m54 |[0;0m return [4;39mCFBitVectorGetCountOfBit[0;0m(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetCountOfBit' in scope[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:54:60: [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m52 |[0;0m public func count(of bit: Bit, in range: Range<Int>? = nil) -> Int {
[0;36m53 |[0;0m let range = range ?? 0..<count
[0;36m54 |[0;0m return CFBitVectorGetCountOfBit(storage.immutable, [4;39mCFRangeMake[0;0m(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:60:21: [1;31merror: [1;39mcannot find 'CFBitVectorGetFirstIndexOfBit' in scope[0;0m
[0;36m58 |[0;0m public func firstIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
[0;36m59 |[0;0m let range = range ?? 0..<count
[0;36m60 |[0;0m let index = [4;39mCFBitVectorGetFirstIndexOfBit[0;0m(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetFirstIndexOfBit' in scope[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:60:70: [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m58 |[0;0m public func firstIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
[0;36m59 |[0;0m let range = range ?? 0..<count
[0;36m60 |[0;0m let index = CFBitVectorGetFirstIndexOfBit(storage.immutable, [4;39mCFRangeMake[0;0m(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:62:21: [1;31merror: [1;39mcannot find 'kCFNotFound' in scope[0;0m
[0;36m60 |[0;0m let index = CFBitVectorGetFirstIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
[0;36m61 |[0;0m
[0;36m62 |[0;0m if index == [4;39mkCFNotFound[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFNotFound' in scope[0;0m
[0;36m63 |[0;0m return nil
[0;36m64 |[0;0m } else {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:72:21: [1;31merror: [1;39mcannot find 'CFBitVectorGetLastIndexOfBit' in scope[0;0m
[0;36m70 |[0;0m public func lastIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
[0;36m71 |[0;0m let range = range ?? 0..<count
[0;36m72 |[0;0m let index = [4;39mCFBitVectorGetLastIndexOfBit[0;0m(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFBitVectorGetLastIndexOfBit' in scope[0;0m
[0;36m73 |[0;0m
[0;36m74 |[0;0m if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:72:69: [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m70 |[0;0m public func lastIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
[0;36m71 |[0;0m let range = range ?? 0..<count
[0;36m72 |[0;0m let index = CFBitVectorGetLastIndexOfBit(storage.immutable, [4;39mCFRangeMake[0;0m(range.lowerBound, range.count), bit.rawValue)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFRangeMake' in scope[0;0m
[0;36m73 |[0;0m
[0;36m74 |[0;0m if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:74:21: [1;31merror: [1;39mcannot find 'kCFNotFound' in scope[0;0m
[0;36m72 |[0;0m let index = CFBitVectorGetLastIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
[0;36m73 |[0;0m
[0;36m74 |[0;0m if index == [4;39mkCFNotFound[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFNotFound' in scope[0;0m
[0;36m75 |[0;0m return nil
[0;36m76 |[0;0m } else {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/BitVector/BitVector+Bit.swift -primary-file /host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+CFType.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+ExpressibleByArrayLiteral.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+MutableCollection.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+RandomAccessCollection.swift /host/spi-builder-workspace/Sources/BitVector/BitVector+RangeReplaceableCollection.swift /host/spi-builder-workspace/Sources/BitVector/BitVector.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BitVector -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.o -index-unit-output-path /BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+Bit.o -index-unit-output-path /BitVector.build/Debug-linux-x86_64/BitVector-t.build/Objects-normal/x86_64/BitVector+CFBitVector.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux