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 Parchment, reference 1.3.1 (5d888b), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:00:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-kohey/Parchment-swift.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-kohey/Parchment-swift
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 5d888b0 Merge pull request #35 from k-kohey/fix/module_name
Cloned https://github.com/k-kohey/Parchment-swift.git
Revision (git rev-parse @):
5d888b07f7e5efb974b53e91164b8369b7995770
SUCCESS checkout https://github.com/k-kohey/Parchment-swift.git at 1.3.1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/2038] Fetching swift-docc-plugin
[124/11621] Fetching swift-docc-plugin, sqlite.swift
Fetched https://github.com/apple/swift-docc-plugin from cache (1.61s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.61s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.70s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.67s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "parchment-swift",
      "name": "Parchment",
      "url": "https://github.com/k-kohey/Parchment-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Parchment-swift",
      "dependencies": [
        {
          "identity": "sqlite.swift",
          "name": "SQLite.swift",
          "url": "https://github.com/stephencelis/SQLite.swift.git",
          "version": "0.15.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/k-kohey/Parchment-swift.git
[1/3552] Fetching parchment-swift
Fetched https://github.com/k-kohey/Parchment-swift.git from cache (1.08s)
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.59s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.53s)
Creating working copy for https://github.com/k-kohey/Parchment-swift.git
Working copy of https://github.com/k-kohey/Parchment-swift.git resolved at 1.3.1 (5d888b0)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 5 |     name: "SQLite.swift",
 6 |     platforms: [
 7 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
 8 |         .macOS(.v10_13),
 9 |         .watchOS(.v4),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 |         .visionOS(.v1)
12 |     ],
warning: '.resolve-product-dependencies': dependency 'parchment-swift' is not used by any target
Found 1 product dependencies
  - SQLite.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/k-kohey/Parchment-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/50] Compiling ParchmentCore LoggableDictonary.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParchmentCore/LoggableDictonary.swift:14:1: warning: extension declares a conformance of imported type 'PartialKeyPath' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | public typealias LoggableDictonary = [PartialKeyPath<Loggable>: Sendable]
13 |
14 | extension PartialKeyPath<Loggable>: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'PartialKeyPath' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 | extension LoggableDictonary: Loggable {
[9/51] Compiling ParchmentCore Mutation.swift
[10/51] Compiling ParchmentCore Payload.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParchmentCore/Payload.swift:190:26: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 |
189 |         let parametersContainer = try container.nestedContainer(keyedBy: DynamicCodingKeys.self, forKey: .parameters)
190 |         parameters = try decodeFromContainer(container: parametersContainer)
    |                          `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
191 |     }
192 |
[11/51] Compiling ParchmentCore LoggerComponent.swift
[12/51] Compiling ParchmentCore LoggerBundler.swift
[13/51] Compiling ParchmentCore LogBuffer.swift
[14/51] Compiling ParchmentCore BufferFlowController.swift
[15/51] Compiling ParchmentCore AnyLoggable.swift
[16/51] Emitting module ParchmentCore
/Users/admin/builder/spi-builder-workspace/Sources/ParchmentCore/LoggableDictonary.swift:14:1: warning: extension declares a conformance of imported type 'PartialKeyPath' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | public typealias LoggableDictonary = [PartialKeyPath<Loggable>: Sendable]
13 |
14 | extension PartialKeyPath<Loggable>: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'PartialKeyPath' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 | extension LoggableDictonary: Loggable {
[17/51] Compiling ParchmentCore Loggable.swift
[18/51] Emitting module SQLite
[19/51] Compiling SQLite Connection+Pragmas.swift
[20/51] Compiling SQLite Connection.swift
[21/51] Compiling SQLite Errors.swift
[22/51] Compiling SQLite Result.swift
[23/51] Compiling SQLite Value.swift
[24/51] Compiling SQLite Cipher.swift
[25/51] Compiling SQLite FTS4.swift
[26/51] Compiling SQLite FTS5.swift
[27/51] Compiling SQLite Backup.swift
[28/51] Compiling SQLite Blob.swift
[29/51] Compiling SQLite Connection+Aggregation.swift
[30/51] Compiling SQLite Connection+Attach.swift
[31/51] Compiling SQLite AggregateFunctions.swift
[32/51] Compiling SQLite Coding.swift
[33/51] Compiling SQLite Collation.swift
[34/54] Compiling SQLite CoreFunctions.swift
[35/54] Compiling SQLite CustomFunctions.swift
[36/54] Compiling SQLite DateAndTimeFunctions.swift
[37/54] Compiling SQLite SQLiteFeature.swift
[38/54] Compiling SQLite SQLiteVersion.swift
[39/54] Compiling SQLite Statement.swift
[40/54] Compiling SQLite URIQueryParameter.swift
[41/54] Compiling SQLite SchemaChanger.swift
[42/54] Compiling SQLite SchemaDefinitions.swift
[43/54] Compiling SQLite SchemaReader.swift
[44/54] Compiling SQLite Expression.swift
[45/54] Compiling SQLite Operators.swift
[46/54] Compiling SQLite Query+with.swift
[47/54] Compiling SQLite RTree.swift
[48/54] Compiling SQLite Foundation.swift
[49/54] Compiling SQLite Helpers.swift
[50/54] Compiling SQLite Connection+Schema.swift
[51/54] Compiling ParchmentCore osLogger.swift
[52/56] Compiling TestSupport Stub.swift
[53/56] Emitting module TestSupport
[54/56] Compiling SQLite Query.swift
[55/56] Compiling SQLite Schema.swift
[56/56] Compiling SQLite Setter.swift
[57/64] Compiling Parchment LoggerBundler+.swift
[58/64] Compiling Parchment DeviceDataMutation.swift
[59/64] Compiling Parchment DefaultBufferFlowController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/DefaultBufferFlowController.swift:18:17: warning: stored property 'bufferTask' of 'Sendable'-conforming class 'DefaultBufferFlowController' is mutable; this is an error in the Swift 6 language mode
16 |     @MainActor private var inputAccumulationPayloads: [Payload] = []
17 |
18 |     private var bufferTask: Task<Void, Error>? = nil
   |                 `- warning: stored property 'bufferTask' of 'Sendable'-conforming class 'DefaultBufferFlowController' is mutable; this is an error in the Swift 6 language mode
19 |
20 |     public init(
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/64] Emitting module Parchment
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/DefaultBufferFlowController.swift:18:17: warning: stored property 'bufferTask' of 'Sendable'-conforming class 'DefaultBufferFlowController' is mutable; this is an error in the Swift 6 language mode
16 |     @MainActor private var inputAccumulationPayloads: [Payload] = []
17 |
18 |     private var bufferTask: Task<Void, Error>? = nil
   |                 `- warning: stored property 'bufferTask' of 'Sendable'-conforming class 'DefaultBufferFlowController' is mutable; this is an error in the Swift 6 language mode
19 |
20 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:14:45: error: missing argument label 'value:' in call
12 | public final actor SQLiteBuffer: LogBuffer {
13 |     private enum Column {
14 |         static let event = Expression<Data>("event")
   |                                             `- error: missing argument label 'value:' in call
15 |         static let timestamp = Expression<Date>("timestamp")
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:15:49: error: missing argument label 'value:' in call
13 |     private enum Column {
14 |         static let event = Expression<Data>("event")
15 |         static let timestamp = Expression<Date>("timestamp")
   |                                                 `- error: missing argument label 'value:' in call
16 |     }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:38:19: error: generic parameter 'V' could not be inferred
36 |         try db.run(
37 |             events.create(ifNotExists: true) { t in
38 |                 t.column(Column.event, primaryKey: true)
   |                   `- error: generic parameter 'V' could not be inferred
39 |                 t.column(Column.timestamp)
40 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift:272:17: note: in call to function 'column(_:primaryKey:check:defaultValue:)'
270 |     }
271 |
272 |     public func column<V: Value>(_ name: Expression<V>, primaryKey: Bool, check: Expression<Bool>? = nil,
    |                 `- note: in call to function 'column(_:primaryKey:check:defaultValue:)'
273 |                                  defaultValue: Expression<V>? = nil) {
274 |         column(name, V.declaredDatatype, primaryKey ? .default : nil, false, false, check, defaultValue, nil, nil)
[61/64] Compiling Parchment Tracked.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/Tracked.swift:87:17: warning: capture of 'self' with non-sendable type 'Binding<Tracked<InnerType, Scope>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | ///     @Tracked(name: "age", with: logger, scope: \.age) var state: State
14 | @propertyWrapper
15 | public struct Tracked<Value: Sendable, ScopeValue: Sendable> {
   |               `- note: consider making generic struct 'Tracked' conform to the 'Sendable' protocol
16 |     private let logger: LoggerBundler
17 |     private let option: LoggerBundler.LoggingOption
   :
85 |         Binding<InnerType>(
86 |             get: {
87 |                 wrappedValue.wrappedValue
   |                 `- warning: capture of 'self' with non-sendable type 'Binding<Tracked<InnerType, Scope>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 |             }, set: {
89 |                 wrappedValue.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/Tracked.swift:89:17: warning: capture of 'self' with non-sendable type 'Binding<Tracked<InnerType, Scope>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | ///     @Tracked(name: "age", with: logger, scope: \.age) var state: State
14 | @propertyWrapper
15 | public struct Tracked<Value: Sendable, ScopeValue: Sendable> {
   |               `- note: consider making generic struct 'Tracked' conform to the 'Sendable' protocol
16 |     private let logger: LoggerBundler
17 |     private let option: LoggerBundler.LoggingOption
   :
87 |                 wrappedValue.wrappedValue
88 |             }, set: {
89 |                 wrappedValue.wrappedValue = $0
   |                 `- warning: capture of 'self' with non-sendable type 'Binding<Tracked<InnerType, Scope>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 |             })
91 |     }
[62/64] Compiling Parchment SQLiteBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:14:45: error: missing argument label 'value:' in call
12 | public final actor SQLiteBuffer: LogBuffer {
13 |     private enum Column {
14 |         static let event = Expression<Data>("event")
   |                                             `- error: missing argument label 'value:' in call
15 |         static let timestamp = Expression<Date>("timestamp")
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:15:49: error: missing argument label 'value:' in call
13 |     private enum Column {
14 |         static let event = Expression<Data>("event")
15 |         static let timestamp = Expression<Date>("timestamp")
   |                                                 `- error: missing argument label 'value:' in call
16 |     }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:38:19: error: generic parameter 'V' could not be inferred
36 |         try db.run(
37 |             events.create(ifNotExists: true) { t in
38 |                 t.column(Column.event, primaryKey: true)
   |                   `- error: generic parameter 'V' could not be inferred
39 |                 t.column(Column.timestamp)
40 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift:272:17: note: in call to function 'column(_:primaryKey:check:defaultValue:)'
270 |     }
271 |
272 |     public func column<V: Value>(_ name: Expression<V>, primaryKey: Bool, check: Expression<Bool>? = nil,
    |                 `- note: in call to function 'column(_:primaryKey:check:defaultValue:)'
273 |                                  defaultValue: Expression<V>? = nil) {
274 |         column(name, V.declaredDatatype, primaryKey ? .default : nil, false, false, check, defaultValue, nil, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Parchment/SQLiteBuffer.swift:65:14: error: instance method 'joined(separator:)' requires the types 'Data.Element' (aka 'UInt8') and '(any Binding)?' be equivalent
63 |         let entities = try db.prepare(target)
64 |             .map { $0[Column.event] }
65 |             .joined(separator: ",".data(using: .utf8)!)
   |              `- error: instance method 'joined(separator:)' requires the types 'Data.Element' (aka 'UInt8') and '(any Binding)?' be equivalent
66 |         let jsonData = "[".data(using: .utf8)! + entities + "]".data(using: .utf8)!
67 |
Swift.Sequence:2:40: note: where 'Separator.Element' = 'Data.Element' (aka 'UInt8'), 'Self.Element.Element' = '(any Binding)?'
1 | extension Sequence where Self.Element : Sequence {
2 |     @inlinable public __consuming func joined<Separator>(separator: Separator) -> JoinedSequence<Self> where Separator : Sequence, Separator.Element == Self.Element.Element
  |                                        `- note: where 'Separator.Element' = 'Data.Element' (aka 'UInt8'), 'Self.Element.Element' = '(any Binding)?'
3 | }
[63/64] Compiling Parchment Export.swift
[64/64] Compiling Parchment View+track.swift
BUILD FAILURE 6.0 macosSpm