The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitVector, reference v1.2.1 (a7215e), 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-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aggie33/BitVector.git
Reference: v1.2.1
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
 * tag               v1.2.1     -> FETCH_HEAD
HEAD is now at a7215e8 Adjustments
Cloned https://github.com/aggie33/BitVector.git
Revision (git rev-parse @):
a7215e8aabfd4d0b2931ece5d6d7c98003c20dba
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aggie33/BitVector.git at v1.2.1
========================================
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-54344845-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.37s)
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 / 39] CopyOnWrite
[28 / 43] CopyOnWrite
[41 / 53] BitVector
/host/spi-builder-workspace/Sources/BitVector/BitVector.swift:7:1: warning: extension 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
 5 | import CopyOnWrite
 6 |
 7 | extension CFBitVector: PairReferenceCopyable {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
 8 |     public var immutable: CFBitVector {
 9 |         self
[41 / 53] CopyOnWrite
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: error: cannot find 'CFBitVectorCreate' in scope
18 |         numBits: Int
19 |     ) {
20 |         self.init(CFBitVectorCreate(nil, bytes, numBits))
   |                   `- error: cannot find 'CFBitVectorCreate' in scope
21 |     }
22 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:26:16: error: cannot find 'CFBitVectorContainsBit' in scope
24 |     public func contains(_ bit: Bit, in range: Range<Int>? = nil) -> Bool {
25 |         let range = range ?? 0..<count
26 |         return CFBitVectorContainsBit(
   |                `- error: cannot find 'CFBitVectorContainsBit' in scope
27 |             storage.immutable,
28 |             CFRangeMake(range.lowerBound, range.count),
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:28:13: error: cannot find 'CFRangeMake' in scope
26 |         return CFBitVectorContainsBit(
27 |             storage.immutable,
28 |             CFRangeMake(range.lowerBound, range.count),
   |             `- error: cannot find 'CFRangeMake' in scope
29 |             bit.rawValue
30 |         )
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:35:29: error: cannot find 'CFBitVectorGetBitAtIndex' in scope
33 |     /// Gets the bit at a given index.
34 |     public subscript(index: Int) -> Bit {
35 |         get { Bit(rawValue: CFBitVectorGetBitAtIndex(storage.immutable, index))! }
   |                             `- error: cannot find 'CFBitVectorGetBitAtIndex' in scope
36 |         set { CFBitVectorSetBitAtIndex(storage.mutable, index, newValue.rawValue) }
37 |     }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:36:15: error: cannot find 'CFBitVectorSetBitAtIndex' in scope
34 |     public subscript(index: Int) -> Bit {
35 |         get { Bit(rawValue: CFBitVectorGetBitAtIndex(storage.immutable, index))! }
36 |         set { CFBitVectorSetBitAtIndex(storage.mutable, index, newValue.rawValue) }
   |               `- error: cannot find 'CFBitVectorSetBitAtIndex' in scope
37 |     }
38 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:42:9: error: cannot find 'CFBitVectorGetBits' in scope
40 |     public func copyBits(in range: Range<Int>? = nil, to pointer: UnsafeMutablePointer<UInt8>) {
41 |         let range = range ?? 0..<count
42 |         CFBitVectorGetBits(storage.immutable, CFRangeMake(range.lowerBound, range.count), pointer)
   |         `- error: cannot find 'CFBitVectorGetBits' in scope
43 |     }
44 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:42:47: error: cannot find 'CFRangeMake' in scope
40 |     public func copyBits(in range: Range<Int>? = nil, to pointer: UnsafeMutablePointer<UInt8>) {
41 |         let range = range ?? 0..<count
42 |         CFBitVectorGetBits(storage.immutable, CFRangeMake(range.lowerBound, range.count), pointer)
   |                                               `- error: cannot find 'CFRangeMake' in scope
43 |     }
44 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:47:15: error: cannot find 'CFBitVectorGetCount' in scope
45 |     /// The number of bits in the bit vector.
46 |     public var count: Int {
47 |         get { CFBitVectorGetCount(storage.immutable) }
   |               `- error: cannot find 'CFBitVectorGetCount' in scope
48 |         set { CFBitVectorSetCount(storage.mutable, newValue) }
49 |     }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:48:15: error: cannot find 'CFBitVectorSetCount' in scope
46 |     public var count: Int {
47 |         get { CFBitVectorGetCount(storage.immutable) }
48 |         set { CFBitVectorSetCount(storage.mutable, newValue) }
   |               `- error: cannot find 'CFBitVectorSetCount' in scope
49 |     }
50 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:54:16: error: cannot find 'CFBitVectorGetCountOfBit' in scope
52 |     public func count(of bit: Bit, in range: Range<Int>? = nil) -> Int {
53 |         let range = range ?? 0..<count
54 |         return CFBitVectorGetCountOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                `- error: cannot find 'CFBitVectorGetCountOfBit' in scope
55 |     }
56 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:54:60: error: cannot find 'CFRangeMake' in scope
52 |     public func count(of bit: Bit, in range: Range<Int>? = nil) -> Int {
53 |         let range = range ?? 0..<count
54 |         return CFBitVectorGetCountOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                                                            `- error: cannot find 'CFRangeMake' in scope
55 |     }
56 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:60:21: error: cannot find 'CFBitVectorGetFirstIndexOfBit' in scope
58 |     public func firstIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
59 |         let range = range ?? 0..<count
60 |         let index = CFBitVectorGetFirstIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                     `- error: cannot find 'CFBitVectorGetFirstIndexOfBit' in scope
61 |
62 |         if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:60:70: error: cannot find 'CFRangeMake' in scope
58 |     public func firstIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
59 |         let range = range ?? 0..<count
60 |         let index = CFBitVectorGetFirstIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                                                                      `- error: cannot find 'CFRangeMake' in scope
61 |
62 |         if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:62:21: error: cannot find 'kCFNotFound' in scope
60 |         let index = CFBitVectorGetFirstIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
61 |
62 |         if index == kCFNotFound {
   |                     `- error: cannot find 'kCFNotFound' in scope
63 |             return nil
64 |         } else {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:72:21: error: cannot find 'CFBitVectorGetLastIndexOfBit' in scope
70 |     public func lastIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
71 |         let range = range ?? 0..<count
72 |         let index = CFBitVectorGetLastIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                     `- error: cannot find 'CFBitVectorGetLastIndexOfBit' in scope
73 |
74 |         if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:72:69: error: cannot find 'CFRangeMake' in scope
70 |     public func lastIndex(of bit: Bit, in range: Range<Int>? = nil) -> Int? {
71 |         let range = range ?? 0..<count
72 |         let index = CFBitVectorGetLastIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                                                                     `- error: cannot find 'CFRangeMake' in scope
73 |
74 |         if index == kCFNotFound {
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFBitVector.swift:74:21: error: cannot find 'kCFNotFound' in scope
72 |         let index = CFBitVectorGetLastIndexOfBit(storage.immutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
73 |
74 |         if index == kCFNotFound {
   |                     `- error: cannot find 'kCFNotFound' in scope
75 |             return nil
76 |         } 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
[44 / 53] BitVector
error: Build failed
BUILD FAILURE 6.4 linux