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 swift-composable-environment, reference main (22b550), with Swift 6.0 for Linux on 2 Nov 2024 15:18:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tgrapperon/swift-composable-environment.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/tgrapperon/swift-composable-environment
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 22b5506 Update README.md
Cloned https://github.com/tgrapperon/swift-composable-environment.git
Revision (git rev-parse @):
22b5506bac48ebbb2098cbcf18bcf4b5dd3495b7
SUCCESS checkout https://github.com/tgrapperon/swift-composable-environment.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tgrapperon/swift-composable-environment.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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/pointfreeco/swift-composable-architecture
[1/273378] Fetching swift-composable-architecture
Fetched https://github.com/pointfreeco/swift-composable-architecture from cache (12.73s)
Computing version for https://github.com/pointfreeco/swift-composable-architecture
Computed https://github.com/pointfreeco/swift-composable-architecture at 0.59.0 (0.63s)
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swiftui-navigation
[1/4511] Fetching swift-custom-dump
[4512/6010] Fetching swift-custom-dump, swift-identified-collections
[6011/11234] Fetching swift-custom-dump, swift-identified-collections, swift-dependencies
[11235/12628] Fetching swift-custom-dump, swift-identified-collections, swift-dependencies, swiftui-navigation
[12629/17613] Fetching swift-custom-dump, swift-identified-collections, swift-dependencies, swiftui-navigation, xctest-dynamic-overlay
[17614/18371] Fetching swift-custom-dump, swift-identified-collections, swift-dependencies, swiftui-navigation, xctest-dynamic-overlay, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.72s)
Fetched https://github.com/pointfreeco/swiftui-navigation from cache (1.72s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-case-paths
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.72s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (1.72s)
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.75s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.77s)
[1/2347] Fetching combine-schedulers
[1386/6521] Fetching combine-schedulers, swift-case-paths
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.29s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.30s)
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.22s)
Computing version for https://github.com/pointfreeco/swiftui-navigation
Computed https://github.com/pointfreeco/swiftui-navigation at 0.8.0 (0.61s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.53s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1278] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.27s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.51s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.51s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.52s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.50s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.51s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 0.8.0 (0.50s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (0.72s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-composable-architecture
Working copy of https://github.com/pointfreeco/swift-composable-architecture resolved at 0.59.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 0.8.0
Creating working copy for https://github.com/pointfreeco/swiftui-navigation
Working copy of https://github.com/pointfreeco/swiftui-navigation resolved at 0.8.0
Building for debugging...
[0/18] Write sources
[17/18] Write swift-version-24593BA9C3E375BF.txt
[19/54] Emitting module _Dependencies
[20/54] Emitting module InternalCollectionsUtilities
[21/56] Compiling ConcurrencyExtras ActorIsolated.swift
[22/56] Compiling _Dependencies DependencyKey.swift
[23/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[24/57] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[25/57] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[26/57] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[27/57] Compiling _Dependencies Dependencies.swift
[28/57] Compiling XCTestDynamicOverlay Unimplemented.swift
[29/59] Compiling InternalCollectionsUtilities Debugging.swift
[30/59] Compiling InternalCollectionsUtilities Descriptions.swift
[31/59] Compiling InternalCollectionsUtilities _SortedCollection.swift
[32/59] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/59] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[34/59] Compiling InternalCollectionsUtilities Specialize.swift
[35/59] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[36/59] Compiling InternalCollectionsUtilities Integer rank.swift
[37/59] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[38/59] Compiling InternalCollectionsUtilities UInt+reversed.swift
[39/59] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[40/59] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[41/59] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/59] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/59] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/60] Compiling ConcurrencyExtras UncheckedSendable.swift
[47/62] Emitting module ComposableDependencies
[48/62] Compiling ComposableDependencies ComposableDependencies.swift
[50/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[51/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[52/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[53/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[54/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[55/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[56/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[57/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[58/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[59/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[60/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[61/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[62/127] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[63/127] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[64/127] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[65/127] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[66/127] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[67/127] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[68/127] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[69/127] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[70/127] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[71/127] Compiling OrderedCollections OrderedDictionary+Values.swift
[72/127] Compiling OrderedCollections OrderedDictionary.swift
[73/127] Compiling OrderedCollections OrderedSet+Codable.swift
[74/127] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[75/127] Compiling OrderedCollections OrderedSet+Descriptions.swift
[76/127] Compiling OrderedCollections OrderedSet+Diffing.swift
[77/127] Compiling OrderedCollections OrderedSet+Equatable.swift
[78/127] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[79/127] Compiling OrderedCollections OrderedSet+Hashable.swift
[80/127] Compiling OrderedCollections OrderedDictionary+Codable.swift
[81/127] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[82/127] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[83/127] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[84/127] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[85/127] Compiling OrderedCollections OrderedDictionary+Elements.swift
[86/127] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[87/127] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[88/127] Compiling OrderedCollections OrderedSet+Initializers.swift
[89/127] Compiling OrderedCollections OrderedSet+Insertions.swift
[90/127] Compiling OrderedCollections OrderedSet+Invariants.swift
[91/127] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[92/127] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[93/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[94/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[95/127] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[96/127] Compiling OrderedCollections _HashTable+Bucket.swift
[97/127] Compiling OrderedCollections _HashTable+BucketIterator.swift
[98/127] Compiling OrderedCollections _HashTable+Constants.swift
[99/127] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[100/127] Compiling OrderedCollections _HashTable+Testing.swift
[101/127] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[102/127] Compiling OrderedCollections _HashTable.swift
[103/127] Compiling OrderedCollections _Hashtable+Header.swift
[104/127] Compiling OrderedCollections OrderedSet+Sendable.swift
[105/127] Compiling OrderedCollections OrderedSet+SubSequence.swift
[106/127] Compiling OrderedCollections OrderedSet+Testing.swift
[107/127] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[108/127] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[109/127] Compiling OrderedCollections OrderedSet.swift
[110/127] Compiling OrderedCollections _UnsafeBitset.swift
[111/127] Compiling ConcurrencyExtras Task.swift
[112/127] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[113/127] Emitting module ConcurrencyExtras
[114/127] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[115/127] Compiling ConcurrencyExtras MainSerialExecutor.swift
[116/127] Compiling ConcurrencyExtras LockIsolated.swift
[117/127] Compiling ConcurrencyExtras Locking.swift
[118/127] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[119/127] Compiling ConcurrencyExtras AsyncStream.swift
[120/128] Compiling _DependencyAliases DependencyAliases.swift
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:26: error: cannot find 'CTL_KERN' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                          `- error: cannot find 'CTL_KERN' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:36: error: cannot find 'KERN_PROC' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                    `- error: cannot find 'KERN_PROC' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:47: error: cannot find 'KERN_PROC_PID' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                               `- error: cannot find 'KERN_PROC_PID' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:70:16: error: cannot find 'kinfo_proc' in scope
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
   |                `- error: cannot find 'kinfo_proc' in scope
71 |     var info_size = MemoryLayout<kinfo_proc>.size
72 |
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:71:34: error: cannot find type 'kinfo_proc' in scope
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
   |                                  `- error: cannot find type 'kinfo_proc' in scope
72 |
73 |     let isDebuggerAttached = name.withUnsafeMutableBytes {
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:11: error: cannot find 'sysctl' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |           `- error: cannot find 'sysctl' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:83: error: cannot find 'P_TRACED' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                                                                   `- error: cannot find 'P_TRACED' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:44: error: 'nil' requires a contextual type
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                            `- error: 'nil' requires a contextual type
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:89:9: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 |
88 |         """,
89 |         stderr
   |         `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 |       )
91 |       raise(SIGTRAP)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[121/128] Emitting module _DependencyAliases
[122/128] Compiling XCTestDynamicOverlay XCTFail.swift
[124/128] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[125/128] Compiling XCTestDynamicOverlay Deprecations.swift
[126/128] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[127/128] Emitting module XCTestDynamicOverlay
BUILD FAILURE 6.0 linux