The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitVector, reference main (9ed6d1), with Swift 6.2 for Linux on 20 Jun 2025 08:47:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/aggie33/BitVector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/aggie33/CopyOnWrite
[1/43] Fetching copyonwrite
Fetched https://github.com/aggie33/CopyOnWrite from cache (0.21s)
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
warning: 'copyonwrite': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/CopyOnWrite/Sources/CopyOnWrite/Documentation.docc
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling CopyOnWrite ReferenceCopyable.swift
[5/6] Compiling CopyOnWrite CopyOnWrite.swift
[6/6] Emitting module CopyOnWrite
[8/16] Compiling BitVector BitVector+Bit.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:20:37: error: 'nil' requires a contextual type
18 |         numBits: Int
19 |     ) {
20 |         self.init(CFBitVectorCreate(nil, bytes, numBits))
   |                                     `- error: 'nil' requires a contextual type
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 {
[9/16] Compiling BitVector 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:20:37: error: 'nil' requires a contextual type
18 |         numBits: Int
19 |     ) {
20 |         self.init(CFBitVectorCreate(nil, bytes, numBits))
   |                                     `- error: 'nil' requires a contextual type
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 {
[10/16] Compiling BitVector BitVector+CFMutableBitVector.swift
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:13:9: error: cannot find 'CFBitVectorFlipBitAtIndex' in scope
11 |     /// Flips the bit at `index`.
12 |     public mutating func flipBit(at index: Int) {
13 |         CFBitVectorFlipBitAtIndex(storage.mutable, index)
   |         `- error: cannot find 'CFBitVectorFlipBitAtIndex' in scope
14 |     }
15 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:19:9: error: cannot find 'CFBitVectorFlipBits' in scope
17 |     public mutating func flipBits(in range: Range<Int>? = nil) {
18 |         let range = range ?? 0..<count
19 |         CFBitVectorFlipBits(storage.mutable, CFRangeMake(range.lowerBound, range.count))
   |         `- error: cannot find 'CFBitVectorFlipBits' in scope
20 |     }
21 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:19:46: error: cannot find 'CFRangeMake' in scope
17 |     public mutating func flipBits(in range: Range<Int>? = nil) {
18 |         let range = range ?? 0..<count
19 |         CFBitVectorFlipBits(storage.mutable, CFRangeMake(range.lowerBound, range.count))
   |                                              `- error: cannot find 'CFRangeMake' in scope
20 |     }
21 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:24:9: error: cannot find 'CFBitVectorSetAllBits' in scope
22 |     /// Sets all the bits in the vector to `bit`.
23 |     public mutating func setAllBits(to bit: Bit) {
24 |         CFBitVectorSetAllBits(storage.mutable, bit.rawValue)
   |         `- error: cannot find 'CFBitVectorSetAllBits' in scope
25 |     }
26 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:30:9: error: cannot find 'CFBitVectorSetBits' in scope
28 |     public mutating func setBits(in range: Range<Int>? = nil, to bit: Bit) {
29 |         let range = range ?? 0..<count
30 |         CFBitVectorSetBits(storage.mutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |         `- error: cannot find 'CFBitVectorSetBits' in scope
31 |     }
32 | }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFMutableBitVector.swift:30:45: error: cannot find 'CFRangeMake' in scope
28 |     public mutating func setBits(in range: Range<Int>? = nil, to bit: Bit) {
29 |         let range = range ?? 0..<count
30 |         CFBitVectorSetBits(storage.mutable, CFRangeMake(range.lowerBound, range.count), bit.rawValue)
   |                                             `- error: cannot find 'CFRangeMake' in scope
31 |     }
32 | }
[11/17] Compiling BitVector BitVector+CFType.swift
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFType.swift:12:9: error: cannot find 'CFEqual' in scope
10 | extension BitVector: Equatable {
11 |     public static func == (lhs: Self, rhs: Self) -> Bool {
12 |         CFEqual(lhs.storage.immutable, rhs.storage.immutable)
   |         `- error: cannot find 'CFEqual' in scope
13 |     }
14 | }
/host/spi-builder-workspace/Sources/BitVector/BitVector+CFType.swift:18:24: error: cannot find 'CFHash' in scope
16 | extension BitVector: Hashable {
17 |     public func hash(into hasher: inout Hasher) {
18 |         hasher.combine(CFHash(storage.immutable))
   |                        `- error: cannot find 'CFHash' in scope
19 |     }
20 | }
[12/17] Compiling BitVector BitVector+RandomAccessCollection.swift
[13/17] Compiling BitVector BitVector+RangeReplaceableCollection.swift
/host/spi-builder-workspace/Sources/BitVector/BitVector+RangeReplaceableCollection.swift:13:56: error: cannot find 'CFBitVectorCreateMutable' in scope
11 | extension BitVector: RangeReplaceableCollection {
12 |     public init() {
13 |         self.storage = CopyOnWritePair(withoutCopying: CFBitVectorCreateMutable(nil, 0))
   |                                                        `- error: cannot find 'CFBitVectorCreateMutable' in scope
14 |     }
15 |
/host/spi-builder-workspace/Sources/BitVector/BitVector+RangeReplaceableCollection.swift:13:81: error: 'nil' requires a contextual type
11 | extension BitVector: RangeReplaceableCollection {
12 |     public init() {
13 |         self.storage = CopyOnWritePair(withoutCopying: CFBitVectorCreateMutable(nil, 0))
   |                                                                                 `- error: 'nil' requires a contextual type
14 |     }
15 |
[14/17] Emitting module 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
[15/17] Compiling BitVector BitVector+ExpressibleByArrayLiteral.swift
[16/17] Compiling BitVector BitVector+MutableCollection.swift
[17/17] Compiling BitVector BitVector.swift
/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
BUILD FAILURE 6.2 linux