Build Information
Failed to build PersistDB, reference master (c5b1b2), with Swift 6.1 for Linux on 28 Sep 2026 23:53:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jordanekay/PersistDB.git
Reference: master
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/jordanekay/PersistDB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c5b1b2f Support analysis
Submodule path 'Carthage/Checkouts/Differ': checked out 'e2cca36e7258dd8add88ae46b5ea56509b066e21'
Submodule path 'Carthage/Checkouts/ReactiveSwift': checked out 'b772fa0b624926e6e2f21acbb79297736a05c585'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick': checked out '0b4ed6c706dd0cce923b5019a605a9bcc6b1b600'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs': checked out 'bb795558a76e5daf3688500055bbcfe243bffa8d'
Submodule path 'Carthage/Checkouts/Schemata': checked out '6080c27fc45d972bf5bea128c6a86b8db946e929'
Submodule path 'Carthage/Checkouts/Schemata/Carthage/Checkouts/Standards': checked out '89c30330fcac972a84a4876125064001b9c89f0f'
Submodule path 'Carthage/Checkouts/Standards': checked out '89c30330fcac972a84a4876125064001b9c89f0f'
Submodule 'Carthage/Checkouts/Differ' (https://github.com/tonyarnold/Differ.git) registered for path 'Carthage/Checkouts/Differ'
Submodule 'Carthage/Checkouts/ReactiveSwift' (https://github.com/ReactiveCocoa/ReactiveSwift.git) registered for path 'Carthage/Checkouts/ReactiveSwift'
Submodule 'Carthage/Checkouts/Schemata' (https://github.com/PersistX/Schemata.git) registered for path 'Carthage/Checkouts/Schemata'
Submodule 'Carthage/Checkouts/Standards' (https://github.com/PersistX/Standards.git) registered for path 'Carthage/Checkouts/Standards'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Differ'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Schemata'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Standards'...
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble'...
Submodule 'Carthage/Checkouts/Standards' (https://github.com/PersistX/Standards.git) registered for path 'Carthage/Checkouts/Schemata/Carthage/Checkouts/Standards'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Schemata/Carthage/Checkouts/Standards'...
Cloned https://github.com/jordanekay/PersistDB.git
Revision (git rev-parse @):
c5b1b2fdf1a19e214d33f1657e57dd32eb5c8e0f
SUCCESS checkout https://github.com/jordanekay/PersistDB.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/jordanekay/PersistDB.git
https://github.com/jordanekay/PersistDB.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-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.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/jordanekay/Schemata
[1/1219] Fetching schemata
Fetched https://github.com/jordanekay/Schemata from cache (0.42s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/tonyarnold/Differ
[1/2366] Fetching differ
Fetched https://github.com/tonyarnold/Differ from cache (0.43s)
[1/52500] Fetching reactiveswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (1.44s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 7.2.1 (2.36s)
Computing version for https://github.com/tonyarnold/Differ
Computed https://github.com/tonyarnold/Differ at 1.4.6 (0.24s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 7.2.1
Creating working copy for https://github.com/jordanekay/Schemata
Working copy of https://github.com/jordanekay/Schemata resolved at master (da457ce)
Creating working copy for https://github.com/tonyarnold/Differ
Working copy of https://github.com/tonyarnold/Differ resolved at 1.4.6
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/Source/Info.plist
warning: 'schemata': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Info.plist
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/75] Emitting module ReactiveSwift
[7/81] Compiling ReactiveSwift LazyMap.swift
[8/81] Compiling ReactiveSwift Map.swift
[9/82] Compiling ReactiveSwift DematerializeResults.swift
[10/82] Compiling ReactiveSwift Filter.swift
[12/82] Compiling ReactiveSwift MapError.swift
[13/82] Compiling ReactiveSwift Materialize.swift
[14/82] Compiling ReactiveSwift MaterializeAsResult.swift
[15/82] Compiling ReactiveSwift ObserveOn.swift
[16/82] Compiling ReactiveSwift Observer.swift
[17/82] Compiling Differ Patch.swift
[18/82] Compiling Schemata PropertyCreation.swift
[19/83] Compiling Schemata Schema.swift
[20/83] Compiling ReactiveSwift Property.swift
[21/83] Compiling ReactiveSwift Reactive.swift
[22/83] Compiling ReactiveSwift CompactMap.swift
[23/83] Compiling ReactiveSwift Debounce.swift
[24/83] Compiling ReactiveSwift Delay.swift
[25/83] Compiling ReactiveSwift Dematerialize.swift
[26/83] Compiling ReactiveSwift ResultExtensions.swift
[27/83] Compiling ReactiveSwift Scheduler.swift
[28/83] Compiling ReactiveSwift UniqueValues.swift
[29/83] Compiling ReactiveSwift Optional.swift
[30/83] Emitting module Schemata
[31/83] Compiling Schemata Projection.swift
[32/83] Compiling Schemata Property.swift
[35/83] Emitting module Differ
[43/84] Compiling ReactiveSwift Flatten.swift
[44/84] Compiling ReactiveSwift FoundationExtensions.swift
[45/84] Compiling ReactiveSwift Lifetime.swift
[46/84] Compiling ReactiveSwift AttemptMap.swift
[47/84] Compiling ReactiveSwift Collect.swift
[48/84] Compiling ReactiveSwift CollectEvery.swift
[49/84] Compiling ReactiveSwift CombinePrevious.swift
[56/84] Compiling ReactiveSwift TakeFirst.swift
[57/84] Compiling ReactiveSwift TakeLast.swift
[58/84] Compiling ReactiveSwift TakeUntil.swift
[59/84] Compiling ReactiveSwift TakeWhile.swift
[60/84] Compiling ReactiveSwift Throttle.swift
[61/84] Compiling ReactiveSwift UnaryAsyncOperator.swift
[62/84] Compiling ReactiveSwift Operators.swift
[63/84] Compiling ReactiveSwift Reduce.swift
[64/84] Compiling ReactiveSwift ScanMap.swift
[65/84] Compiling ReactiveSwift SkipFirst.swift
[66/84] Compiling ReactiveSwift SkipRepeats.swift
[67/84] Compiling ReactiveSwift SkipWhile.swift
[68/84] Compiling Schemata None.swift
[69/84] Compiling Schemata Primitive.swift
[71/84] Compiling Schemata Value.swift
[72/85] Compiling ReactiveSwift Action.swift
[73/85] Compiling ReactiveSwift Atomic.swift
[74/85] Compiling ReactiveSwift Bag.swift
[75/85] Compiling ReactiveSwift Deprecations+Removals.swift
[76/85] Compiling ReactiveSwift Disposable.swift
[77/85] Compiling ReactiveSwift Event.swift
[78/85] Compiling ReactiveSwift EventLogger.swift
[80/85] Compiling ReactiveSwift Signal.Observer.swift
[81/85] Compiling ReactiveSwift Signal.swift
[82/85] Compiling ReactiveSwift SignalProducer.swift
[83/85] Compiling ReactiveSwift UnidirectionalBinding.swift
[84/85] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[85/85] Compiling ReactiveSwift ValidatingProperty.swift
[87/121] Compiling PersistDB ReactiveSwift.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[88/121] Compiling PersistDB Schemata.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[89/121] Compiling PersistDB Swift.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[90/121] Compiling PersistDB Generator.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[91/121] Compiling PersistDB Group.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[92/125] Emitting module PersistDB
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
[93/125] Compiling PersistDB Grouping.swift
[94/125] Compiling PersistDB Insert.swift
[95/125] Compiling PersistDB Model.swift
[96/125] Compiling PersistDB Ordering.swift
[97/125] Compiling PersistDB Predicate.swift
[98/125] Compiling PersistDB SQL.Update.swift
/host/spi-builder-workspace/Source/Store.swift:644:22: error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
645 | .map { resultSet in resultSet.values.first }
646 | }
/host/spi-builder-workspace/Source/Store.swift:644:16: error: generic parameter 'Model' could not be inferred
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: generic parameter 'Model' could not be inferred
645 | .map { resultSet in resultSet.values.first }
646 | }
:
725 | ///
726 | /// - important: Nothing will be done until the returned producer is started.
727 | public func fetch<Model, Value>(
| `- note: in call to function 'fetch'
728 | _ aggregate: Aggregate<Model, Value>
729 | ) -> SignalProducer<Value, Never> {
/host/spi-builder-workspace/Source/Store.swift:645:20: error: cannot infer type of closure parameter 'resultSet' without a type annotation
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
645 | .map { resultSet in resultSet.values.first }
| `- error: cannot infer type of closure parameter 'resultSet' without a type annotation
646 | }
647 |
[99/125] Compiling PersistDB SQL.Value.swift
/host/spi-builder-workspace/Source/Store.swift:644:22: error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
645 | .map { resultSet in resultSet.values.first }
646 | }
/host/spi-builder-workspace/Source/Store.swift:644:16: error: generic parameter 'Model' could not be inferred
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: generic parameter 'Model' could not be inferred
645 | .map { resultSet in resultSet.values.first }
646 | }
:
725 | ///
726 | /// - important: Nothing will be done until the returned producer is started.
727 | public func fetch<Model, Value>(
| `- note: in call to function 'fetch'
728 | _ aggregate: Aggregate<Model, Value>
729 | ) -> SignalProducer<Value, Never> {
/host/spi-builder-workspace/Source/Store.swift:645:20: error: cannot infer type of closure parameter 'resultSet' without a type annotation
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
645 | .map { resultSet in resultSet.values.first }
| `- error: cannot infer type of closure parameter 'resultSet' without a type annotation
646 | }
647 |
[100/125] Compiling PersistDB SQL.swift
/host/spi-builder-workspace/Source/Store.swift:644:22: error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
645 | .map { resultSet in resultSet.values.first }
646 | }
/host/spi-builder-workspace/Source/Store.swift:644:16: error: generic parameter 'Model' could not be inferred
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: generic parameter 'Model' could not be inferred
645 | .map { resultSet in resultSet.values.first }
646 | }
:
725 | ///
726 | /// - important: Nothing will be done until the returned producer is started.
727 | public func fetch<Model, Value>(
| `- note: in call to function 'fetch'
728 | _ aggregate: Aggregate<Model, Value>
729 | ) -> SignalProducer<Value, Never> {
/host/spi-builder-workspace/Source/Store.swift:645:20: error: cannot infer type of closure parameter 'resultSet' without a type annotation
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
645 | .map { resultSet in resultSet.values.first }
| `- error: cannot infer type of closure parameter 'resultSet' without a type annotation
646 | }
647 |
[101/125] Compiling PersistDB Store.swift
/host/spi-builder-workspace/Source/Store.swift:644:22: error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: cannot convert value of type 'Query<None, Projection.Model>' to expected argument type 'Aggregate<Model, Value>'
645 | .map { resultSet in resultSet.values.first }
646 | }
/host/spi-builder-workspace/Source/Store.swift:644:16: error: generic parameter 'Model' could not be inferred
642 | let query = Projection.Model.all
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
| `- error: generic parameter 'Model' could not be inferred
645 | .map { resultSet in resultSet.values.first }
646 | }
:
725 | ///
726 | /// - important: Nothing will be done until the returned producer is started.
727 | public func fetch<Model, Value>(
| `- note: in call to function 'fetch'
728 | _ aggregate: Aggregate<Model, Value>
729 | ) -> SignalProducer<Value, Never> {
/host/spi-builder-workspace/Source/Store.swift:645:20: error: cannot infer type of closure parameter 'resultSet' without a type annotation
643 | .filter(Projection.Model.idKeyPath == id)
644 | return fetch(query)
645 | .map { resultSet in resultSet.values.first }
| `- error: cannot infer type of closure parameter 'resultSet' without a type annotation
646 | }
647 |
[102/125] Compiling PersistDB ProjectedQuery.swift
[103/125] Compiling PersistDB Query.swift
[104/125] Compiling PersistDB ResultSet.swift
[105/125] Compiling PersistDB SQL.Action.swift
[106/125] Compiling PersistDB SQL.Column.swift
[107/125] Compiling PersistDB Action.swift
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
[108/125] Compiling PersistDB Aggregate.swift
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
[109/125] Compiling PersistDB Day.swift
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
[110/125] Compiling PersistDB Delete.swift
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
[111/125] Compiling PersistDB Expression.swift
/host/spi-builder-workspace/Source/Day.swift:57:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| `- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Property<Day>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | initial: Day(),
59 | then: NotificationCenter
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Property.swift:588:20: note: generic class 'Property' does not conform to the 'Sendable' protocol
586 | /// Note that composed properties do not retain any of its sources.
587 | @propertyWrapper
588 | public final class Property<Value>: PropertyProtocol {
| `- note: generic class 'Property' does not conform to the 'Sendable' protocol
589 | private let _value: () -> Value
590 |
/host/spi-builder-workspace/Source/Day.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import Schemata
4 |
:
55 | extension Day {
56 | /// A property with the current day that changes when the day changes.
57 | public static let current = ReactiveSwift.Property<Day>(
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | initial: Day(),
59 | then: NotificationCenter
[112/125] Compiling PersistDB Table.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
/host/spi-builder-workspace/Source/TestStore.swift:90:14: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | ) -> [Model.ID] {
89 | return store
90 | .fetch(query)
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | .map { $0.map { (id: ID<Model>) in id.id } }
92 | .awaitFirst()!
/host/spi-builder-workspace/Source/TestStore.swift:91:23: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/TestStore.swift:91:51: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/ValueSet.swift:230:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
228 | }
229 |
230 | return .init(uniqueKeysWithValues: pairs)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
231 | }
232 | }
[113/125] Compiling PersistDB TestStore.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
/host/spi-builder-workspace/Source/TestStore.swift:90:14: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | ) -> [Model.ID] {
89 | return store
90 | .fetch(query)
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | .map { $0.map { (id: ID<Model>) in id.id } }
92 | .awaitFirst()!
/host/spi-builder-workspace/Source/TestStore.swift:91:23: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/TestStore.swift:91:51: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/ValueSet.swift:230:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
228 | }
229 |
230 | return .init(uniqueKeysWithValues: pairs)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
231 | }
232 | }
[114/125] Compiling PersistDB Update.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
/host/spi-builder-workspace/Source/TestStore.swift:90:14: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | ) -> [Model.ID] {
89 | return store
90 | .fetch(query)
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | .map { $0.map { (id: ID<Model>) in id.id } }
92 | .awaitFirst()!
/host/spi-builder-workspace/Source/TestStore.swift:91:23: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/TestStore.swift:91:51: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/ValueSet.swift:230:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
228 | }
229 |
230 | return .init(uniqueKeysWithValues: pairs)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
231 | }
232 | }
[115/125] Compiling PersistDB ValueSet.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
/host/spi-builder-workspace/Source/TestStore.swift:90:14: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | ) -> [Model.ID] {
89 | return store
90 | .fetch(query)
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | .map { $0.map { (id: ID<Model>) in id.id } }
92 | .awaitFirst()!
/host/spi-builder-workspace/Source/TestStore.swift:91:23: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/TestStore.swift:91:51: warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | return store
90 | .fetch(query)
91 | .map { $0.map { (id: ID<Model>) in id.id } }
| `- warning: type 'Model.ID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | .awaitFirst()!
93 | .value!
/host/spi-builder-workspace/Source/ValueSet.swift:230:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
228 | }
229 |
230 | return .init(uniqueKeysWithValues: pairs)
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
231 | }
232 | }
[116/125] Compiling PersistDB SQL.Database.swift
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
[117/125] Compiling PersistDB SQL.Delete.swift
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
[118/125] Compiling PersistDB SQL.Effect.swift
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
[119/125] Compiling PersistDB SQL.Expression.swift
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
[120/125] Compiling PersistDB SQL.Insert.swift
/host/spi-builder-workspace/Source/SQL/SQL.Database.swift:192:16: warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | static let sqliteMaster = SQL.Table("sqlite_master")
192 | static let schemaQuery = SQL.Query
| |- warning: static property 'schemaQuery' is not concurrency-safe because non-'Sendable' type 'SQL.Query' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'schemaQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | .select([ .init(.column(sqliteMaster["tbl_name"])) ])
194 | .where(.binary(
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:33:21: note: consider making struct 'Query' conform to the 'Sendable' protocol
31 | extension SQL {
32 | /// A SQL query.
33 | internal struct Query: Hashable {
| `- note: consider making struct 'Query' conform to the 'Sendable' protocol
34 | internal var results: [Result]
35 | internal var predicates: [Expression]
[121/125] Compiling PersistDB SQL.Ordering.swift
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
[122/125] Compiling PersistDB SQL.Query.swift
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
[123/125] Compiling PersistDB SQL.Row.swift
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
[124/125] Compiling PersistDB SQL.Schema.swift
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
[125/125] Compiling PersistDB SQL.Table.swift
/host/spi-builder-workspace/Source/SQL/SQL.Query.swift:171:16: warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
169 |
170 | static let renderedResultsLock = NSLock()
171 | static var renderedResultsCache: [[SQL.Result]: RenderedResults] = [:]
| |- warning: static property 'renderedResultsCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'renderedResultsCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'renderedResultsCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | static func renderedResults(for results: [SQL.Result]) -> RenderedResults {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
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/Source/Info.plist
warning: 'schemata': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/71] Compiling ReactiveSwift FoundationExtensions.swift
[3/71] Compiling ReactiveSwift Lifetime.swift
[4/72] Compiling Schemata PropertyCreation.swift
[5/72] Compiling Schemata Schema.swift
[6/72] Compiling Schemata Property.swift
[7/73] Compiling ReactiveSwift LazyMap.swift
[8/73] Compiling ReactiveSwift Flatten.swift
[9/73] Compiling Schemata Projection.swift
[10/73] Compiling Schemata Primitive.swift
[11/73] Compiling Differ Patch.swift
[12/73] Compiling ReactiveSwift Map.swift
[13/73] Compiling ReactiveSwift MapError.swift
[14/73] Compiling ReactiveSwift Materialize.swift
[15/73] Compiling ReactiveSwift MaterializeAsResult.swift
[16/73] Compiling ReactiveSwift ObserveOn.swift
[17/73] Compiling ReactiveSwift Observer.swift
[18/79] Compiling ReactiveSwift CollectEvery.swift
[19/79] Compiling ReactiveSwift CombinePrevious.swift
[20/79] Emitting module Schemata
[21/79] Compiling Schemata None.swift
[22/79] Compiling ReactiveSwift CompactMap.swift
[23/79] Compiling ReactiveSwift Debounce.swift
[24/79] Emitting module Differ
[25/79] Compiling ReactiveSwift DematerializeResults.swift
[26/79] Compiling ReactiveSwift Filter.swift
[27/79] Compiling ReactiveSwift AttemptMap.swift
[28/79] Compiling ReactiveSwift Collect.swift
[31/79] Compiling ReactiveSwift Delay.swift
[32/79] Compiling ReactiveSwift Dematerialize.swift
[33/80] Compiling Schemata Value.swift
[43/81] Emitting module ReactiveSwift
[51/81] Compiling ReactiveSwift Action.swift
[52/81] Compiling ReactiveSwift Atomic.swift
[53/81] Compiling ReactiveSwift Bag.swift
[54/81] Compiling ReactiveSwift Deprecations+Removals.swift
[55/81] Compiling ReactiveSwift Disposable.swift
[56/81] Compiling ReactiveSwift Event.swift
[57/81] Compiling ReactiveSwift EventLogger.swift
[58/81] Compiling ReactiveSwift UniqueValues.swift
[59/81] Compiling ReactiveSwift Optional.swift
[60/81] Compiling ReactiveSwift Property.swift
[61/81] Compiling ReactiveSwift Reactive.swift
[62/81] Compiling ReactiveSwift ResultExtensions.swift
[63/81] Compiling ReactiveSwift Scheduler.swift
[64/81] Compiling ReactiveSwift Operators.swift
[65/81] Compiling ReactiveSwift Reduce.swift
[66/81] Compiling ReactiveSwift ScanMap.swift
[67/81] Compiling ReactiveSwift SkipFirst.swift
[68/81] Compiling ReactiveSwift SkipRepeats.swift
[69/81] Compiling ReactiveSwift SkipWhile.swift
[70/81] Compiling ReactiveSwift TakeFirst.swift
[71/81] Compiling ReactiveSwift TakeLast.swift
[72/81] Compiling ReactiveSwift TakeUntil.swift
[73/81] Compiling ReactiveSwift TakeWhile.swift
[74/81] Compiling ReactiveSwift Throttle.swift
[75/81] Compiling ReactiveSwift UnaryAsyncOperator.swift
[76/81] Compiling ReactiveSwift Signal.Observer.swift
[77/81] Compiling ReactiveSwift Signal.swift
[78/81] Compiling ReactiveSwift SignalProducer.swift
[79/81] Compiling ReactiveSwift UnidirectionalBinding.swift
[80/81] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[81/81] Compiling ReactiveSwift ValidatingProperty.swift
[83/117] Emitting module PersistDB
[84/121] Compiling PersistDB SQL.Database.swift
[85/121] Compiling PersistDB SQL.Delete.swift
[86/121] Compiling PersistDB SQL.Effect.swift
[87/121] Compiling PersistDB SQL.Expression.swift
[88/121] Compiling PersistDB SQL.Insert.swift
[89/121] Compiling PersistDB SQL.Update.swift
[90/121] Compiling PersistDB SQL.Value.swift
[91/121] Compiling PersistDB SQL.swift
[92/121] Compiling PersistDB Store.swift
[93/121] Compiling PersistDB Grouping.swift
[94/121] Compiling PersistDB Insert.swift
[95/121] Compiling PersistDB Model.swift
[96/121] Compiling PersistDB Ordering.swift
[97/121] Compiling PersistDB Predicate.swift
[98/121] Compiling PersistDB ReactiveSwift.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[99/121] Compiling PersistDB Schemata.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[100/121] Compiling PersistDB Swift.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[101/121] Compiling PersistDB Generator.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[102/121] Compiling PersistDB Group.swift
/host/spi-builder-workspace/Source/Extensions/ReactiveSwift.swift:26:26: warning: result of call to 'run(mode:before:)' is unused
24 |
25 | while !done, abs(started.timeIntervalSinceNow) < timeout {
26 | RunLoop.main.run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
| `- warning: result of call to 'run(mode:before:)' is unused
27 | }
28 |
[103/121] Compiling PersistDB Action.swift
[104/121] Compiling PersistDB Aggregate.swift
[105/121] Compiling PersistDB Day.swift
[106/121] Compiling PersistDB Delete.swift
[107/121] Compiling PersistDB Expression.swift
[108/121] Compiling PersistDB Table.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
[109/121] Compiling PersistDB TestStore.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
[110/121] Compiling PersistDB Update.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
[111/121] Compiling PersistDB ValueSet.swift
/host/spi-builder-workspace/Source/TestStore.swift:11:10: error: ambiguous use of 'init(_:_:)'
9 |
10 | static var projection: Projection<Model, ID<Model>> {
11 | return Projection<Model, ID<Model>>({ ID(id: $0) }, Model.idKeyPath)
| `- error: ambiguous use of 'init(_:_:)'
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/Schemata/Sources/Projection.swift:80:9: note: found this candidate in module 'Schemata'
78 | // swiftlint:disable force_cast
79 | extension Projection {
80 | public init<each T>(
| `- note: found this candidate in module 'Schemata'
81 | _ make: @Sendable @escaping (repeat each T) -> Value,
82 | _ keyPath: repeat KeyPath<Model, each T>
:
108 | /// Typed overload: available when every parameter is a `ModelValue`, enabling the boxing-free
109 | /// decode path. Swift selects this over the unconstrained init whenever the constraint is met.
110 | public init<each T: ModelValue>(
| `- note: found this candidate in module 'Schemata'
111 | _ make: @Sendable @escaping (repeat each T) -> Value,
112 | _ keyPath: repeat KeyPath<Model, each T>
[112/121] Compiling PersistDB ProjectedQuery.swift
[113/121] Compiling PersistDB Query.swift
[114/121] Compiling PersistDB ResultSet.swift
[115/121] Compiling PersistDB SQL.Action.swift
[116/121] Compiling PersistDB SQL.Column.swift
[117/121] Compiling PersistDB SQL.Ordering.swift
[118/121] Compiling PersistDB SQL.Query.swift
[119/121] Compiling PersistDB SQL.Row.swift
[120/121] Compiling PersistDB SQL.Schema.swift
[121/121] Compiling PersistDB SQL.Table.swift
BUILD FAILURE 6.1 linux