The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GlueKit, reference v0.2.0 (a5766b), with Swift 6.0 for Linux on 27 Nov 2024 11:53:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/GlueKit.git
Reference: v0.2.0
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/attaswift/GlueKit
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at a5766bb Fix dependency syntax
Submodule path 'Carthage/Checkouts/BTree': checked out '83435371ef3c6d98107f5b562a5870a3dfca6243'
Submodule path 'Carthage/Checkouts/SipHash': checked out '7b47e3f23a66770b1eb18e15e20546aad398c9dd'
Submodule 'Carthage/Checkouts/BTree' (https://github.com/attaswift/BTree.git) registered for path 'Carthage/Checkouts/BTree'
Submodule 'Carthage/Checkouts/SipHash' (https://github.com/attaswift/SipHash.git) registered for path 'Carthage/Checkouts/SipHash'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/BTree'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SipHash'...
Cloned https://github.com/attaswift/GlueKit.git
Revision (git rev-parse @):
a5766bb11eb2681f58593cc33d1103ef20aa85ad
SUCCESS checkout https://github.com/attaswift/GlueKit.git at v0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/attaswift/GlueKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/attaswift/SipHash
[1/3349] Fetching btree
[604/3789] Fetching btree, siphash
Fetched https://github.com/attaswift/SipHash from cache (0.40s)
[2010/3349] Fetching btree
Fetched https://github.com/attaswift/BTree from cache (0.64s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.69s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.60s)
Creating working copy for https://github.com/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Building for debugging...
[0/13] Write sources
[3/13] Write swift-version-24593BA9C3E375BF.txt
[5/33] Compiling BTree Map.swift
[6/33] Compiling BTree SortedBag.swift
[7/35] Compiling BTree Compatibility.swift
[8/35] Compiling BTree List.swift
[9/35] Compiling SipHash SipHashable.swift
[10/35] Compiling SipHash SipHasher.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/35] Compiling BTree BTree.swift
[12/35] Compiling BTree BTreeBuilder.swift
[13/35] Compiling BTree BTreeComparisons.swift
[14/35] Compiling BTree BTreeCursor.swift
[15/35] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[16/35] Compiling SipHash Primitive Types.swift
[17/35] Emitting module SipHash
[18/35] Compiling SipHash RandomUInt64.swift
[19/36] Compiling BTree SortedSet.swift
[20/36] Compiling BTree Weak.swift
[21/36] Wrapping AST for SipHash for debugging
[22/36] Write Objects.LinkFileList
[23/36] Linking libSipHash.so
[25/36] Compiling BTree BTreeMerger.swift
[26/36] Compiling BTree BTreeNode.swift
[27/36] Compiling BTree BTreeIndex.swift
[28/36] Compiling BTree BTreeIterator.swift
[29/36] Compiling BTree BTreePath.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
[30/36] Compiling BTree BridgedList.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
BUILD FAILURE 6.0 linux