Build Information
Failed to build Parchment, reference 1.3.1 (5d888b
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 12:59:30 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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
[226/11627] Fetching swift-docc-plugin, sqlite.swift
Fetched https://github.com/apple/swift-docc-plugin from cache (1.50s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.50s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.51s)
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.10s)
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.55s)
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.43s)
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
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.14.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/SQLite.swift.git"
}
],
"manifest_display_name" : "Parchment",
"name" : "Parchment",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "ParchmentCore",
"targets" : [
"ParchmentCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Parchment",
"targets" : [
"Parchment"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestSupport",
"module_type" : "SwiftTarget",
"name" : "TestSupport",
"path" : "Sources/TestSupport",
"sources" : [
"Stub.swift"
],
"target_dependencies" : [
"ParchmentCore"
],
"type" : "library"
},
{
"c99name" : "ParchmentTests",
"module_type" : "SwiftTarget",
"name" : "ParchmentTests",
"path" : "Tests/ParchmentTests",
"sources" : [
"DefaultBufferFlowControllerTests.swift",
"DeviceDataMutationTests.swift",
"SQLiteBufferTests.swift",
"TrackedTests.swift"
],
"target_dependencies" : [
"Parchment",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "ParchmentCoreTests",
"module_type" : "SwiftTarget",
"name" : "ParchmentCoreTests",
"path" : "Tests/ParchmentCoreTests",
"sources" : [
"AnyLoggableTests.swift",
"BufferRecordTests.swift",
"LoggerBundlerTests.swift",
"MutationTests.swift"
],
"target_dependencies" : [
"ParchmentCore",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "ParchmentCore",
"module_type" : "SwiftTarget",
"name" : "ParchmentCore",
"path" : "Sources/ParchmentCore",
"product_memberships" : [
"ParchmentCore",
"Parchment"
],
"sources" : [
"AnyLoggable.swift",
"BufferFlowController.swift",
"LogBuffer.swift",
"Loggable.swift",
"LoggableDictonary.swift",
"LoggerBundler.swift",
"LoggerComponent.swift",
"Mutation.swift",
"Payload.swift",
"osLogger.swift"
],
"type" : "library"
},
{
"c99name" : "Parchment",
"module_type" : "SwiftTarget",
"name" : "Parchment",
"path" : "Sources/Parchment",
"product_dependencies" : [
"SQLite"
],
"product_memberships" : [
"Parchment"
],
"sources" : [
"DefaultBufferFlowController.swift",
"DeviceDataMutation.swift",
"Export.swift",
"LoggerBundler+.swift",
"SQLiteBuffer.swift",
"Tracked.swift",
"View+track.swift"
],
"target_dependencies" : [
"ParchmentCore"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[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] Emitting module SQLite
[9/53] Compiling ParchmentCore Mutation.swift
[10/53] Compiling ParchmentCore LoggerComponent.swift
[11/53] 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 {
[12/53] Compiling ParchmentCore LoggerBundler.swift
[13/53] Compiling ParchmentCore Loggable.swift
[14/53] Compiling ParchmentCore LogBuffer.swift
[15/53] Compiling ParchmentCore BufferFlowController.swift
[16/53] 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 |
[17/53] 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 {
[18/53] Compiling ParchmentCore AnyLoggable.swift
[19/54] Compiling SQLite SchemaChanger.swift
[20/54] Compiling SQLite SchemaDefinitions.swift
[21/54] Compiling SQLite SchemaReader.swift
[22/54] Compiling SQLite RTree.swift
[23/54] Compiling SQLite Foundation.swift
[24/54] Compiling SQLite Helpers.swift
[25/54] Compiling SQLite Connection+Schema.swift
[26/54] Compiling SQLite SQLiteFeature.swift
[27/54] Compiling SQLite SQLiteVersion.swift
[28/54] Compiling SQLite Statement.swift
[29/54] Compiling SQLite URIQueryParameter.swift
[30/54] Compiling SQLite CoreFunctions.swift
[31/54] Compiling SQLite CustomFunctions.swift
[32/54] Compiling SQLite DateAndTimeFunctions.swift
[33/54] Compiling SQLite AggregateFunctions.swift
[34/54] Compiling SQLite Coding.swift
[35/54] Compiling SQLite Collation.swift
[36/54] Compiling SQLite Expression.swift
[37/54] Compiling SQLite Operators.swift
[38/54] Compiling SQLite Query+with.swift
[39/54] Compiling SQLite Value.swift
[40/54] Compiling SQLite Cipher.swift
[41/54] Compiling SQLite FTS4.swift
[42/54] Compiling SQLite FTS5.swift
[43/54] Compiling SQLite Backup.swift
[44/54] Compiling SQLite Blob.swift
[45/54] Compiling SQLite Connection+Aggregation.swift
[46/54] Compiling SQLite Connection+Attach.swift
[47/54] Compiling SQLite Connection+Pragmas.swift
[48/54] Compiling SQLite Connection.swift
[49/54] Compiling SQLite Errors.swift
[50/54] Compiling SQLite Result.swift
[51/54] Compiling SQLite Query.swift
[52/54] Compiling SQLite Schema.swift
[53/54] Compiling SQLite Setter.swift
[54/54] Compiling ParchmentCore osLogger.swift
[55/64] Emitting module TestSupport
[56/64] Compiling TestSupport Stub.swift
[57/64] Compiling Parchment LoggerBundler+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/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(
[59/64] Compiling Parchment DeviceDataMutation.swift
[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 Export.swift
[62/64] Compiling Parchment View+track.swift
[63/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 | }
[64/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 | }
BUILD FAILURE 6.0 macosSpm