Build Information
Failed to build Kineo, reference 0.0.107 (190631
), with Swift 6.0 for Linux on 30 Oct 2024 23:58:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1416:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1414 | return Term(value: Namespace.rdf.first, type: .iri)
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1417 | case 6:
1418 | return Term(value: "http://www.w3.org/2000/01/rdf-schema#comment", type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:97:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
96 | var map = [String: KeyPath<Quad, Term>]()
97 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | switch node {
99 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:284:13: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
282 | // print("(getting RDF from \(u))")
283 | let task = session.dataTask(with: urlRequest) {
284 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
285 | semaphore.signal()
286 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[249/288] Compiling Kineo SQLiteQuadStore.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:131:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | let iris = [
131 | Namespace.rdf.type,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:132:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | let iris = [
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:133:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:134:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:135:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:136:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:137:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:138:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:139:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:140:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:141:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 | Namespace.xsd.float
143 | ]
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:142:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
143 | ]
144 |
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:294:32: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | }
293 | let dt = dtTerm.value
294 | if dt == Namespace.rdf.langString {
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
295 | guard let lang = row[languageColumn] else {
296 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:790:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
788 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
789 | var map = [String: KeyPath<Quad, Term>]()
790 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
791 | switch node {
792 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1063:62: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1061 | termValueColumn <- term.value)
1062 | case .language(let lang):
1063 | let id = try getOrSetID(for: Term(iri: Namespace.rdf.langString))
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1064 | insert = termsTable.insert(or: .ignore,
1065 | idColumn <- i,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1408:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1406 | switch value {
1407 | case 1:
1408 | return Term(value: Namespace.rdf.type, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1410:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1408 | return Term(value: Namespace.rdf.type, type: .iri)
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1412:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1410 | return Term(value: Namespace.rdf.List, type: .iri)
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1414:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1416:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1414 | return Term(value: Namespace.rdf.first, type: .iri)
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1417 | case 6:
1418 | return Term(value: "http://www.w3.org/2000/01/rdf-schema#comment", type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:97:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
96 | var map = [String: KeyPath<Quad, Term>]()
97 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | switch node {
99 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:284:13: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
282 | // print("(getting RDF from \(u))")
283 | let task = session.dataTask(with: urlRequest) {
284 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
285 | semaphore.signal()
286 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[250/288] Compiling Kineo SimpleQueryEvaluation.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:131:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | let iris = [
131 | Namespace.rdf.type,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:132:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | let iris = [
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:133:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:134:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:135:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:136:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:137:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:138:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:139:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:140:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:141:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 | Namespace.xsd.float
143 | ]
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:142:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
143 | ]
144 |
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:294:32: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | }
293 | let dt = dtTerm.value
294 | if dt == Namespace.rdf.langString {
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
295 | guard let lang = row[languageColumn] else {
296 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:790:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
788 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
789 | var map = [String: KeyPath<Quad, Term>]()
790 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
791 | switch node {
792 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1063:62: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1061 | termValueColumn <- term.value)
1062 | case .language(let lang):
1063 | let id = try getOrSetID(for: Term(iri: Namespace.rdf.langString))
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1064 | insert = termsTable.insert(or: .ignore,
1065 | idColumn <- i,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1408:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1406 | switch value {
1407 | case 1:
1408 | return Term(value: Namespace.rdf.type, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1410:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1408 | return Term(value: Namespace.rdf.type, type: .iri)
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1412:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1410 | return Term(value: Namespace.rdf.List, type: .iri)
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1414:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1416:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1414 | return Term(value: Namespace.rdf.first, type: .iri)
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1417 | case 6:
1418 | return Term(value: "http://www.w3.org/2000/01/rdf-schema#comment", type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:97:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
96 | var map = [String: KeyPath<Quad, Term>]()
97 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | switch node {
99 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:284:13: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
282 | // print("(getting RDF from \(u))")
283 | let task = session.dataTask(with: urlRequest) {
284 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
285 | semaphore.signal()
286 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[251/288] Compiling Kineo TriplePatternFragmentQuadStore.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:131:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | let iris = [
131 | Namespace.rdf.type,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:132:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | let iris = [
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:133:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:134:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:135:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:136:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:137:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:138:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:139:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:140:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:141:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 | Namespace.xsd.float
143 | ]
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:142:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
143 | ]
144 |
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:294:32: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | }
293 | let dt = dtTerm.value
294 | if dt == Namespace.rdf.langString {
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
295 | guard let lang = row[languageColumn] else {
296 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:790:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
788 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
789 | var map = [String: KeyPath<Quad, Term>]()
790 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
791 | switch node {
792 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1063:62: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1061 | termValueColumn <- term.value)
1062 | case .language(let lang):
1063 | let id = try getOrSetID(for: Term(iri: Namespace.rdf.langString))
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1064 | insert = termsTable.insert(or: .ignore,
1065 | idColumn <- i,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1408:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1406 | switch value {
1407 | case 1:
1408 | return Term(value: Namespace.rdf.type, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1410:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1408 | return Term(value: Namespace.rdf.type, type: .iri)
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1412:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1410 | return Term(value: Namespace.rdf.List, type: .iri)
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1414:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1416:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1414 | return Term(value: Namespace.rdf.first, type: .iri)
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1417 | case 6:
1418 | return Term(value: "http://www.w3.org/2000/01/rdf-schema#comment", type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:97:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
96 | var map = [String: KeyPath<Quad, Term>]()
97 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | switch node {
99 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:284:13: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
282 | // print("(getting RDF from \(u))")
283 | let task = session.dataTask(with: urlRequest) {
284 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
285 | semaphore.signal()
286 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[252/288] Compiling Kineo NTriples.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:131:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | let iris = [
131 | Namespace.rdf.type,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:132:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | let iris = [
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:133:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | Namespace.rdf.type,
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:134:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | Namespace.rdf.langString,
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:135:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 | Namespace.rdf.List,
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:136:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | Namespace.rdf.Resource,
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:137:23: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | Namespace.rdf.first,
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:138:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 | Namespace.rdf.rest,
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:139:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | Namespace.rdf.nil,
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:140:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | Namespace.xsd.string,
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:141:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 | Namespace.xsd.integer,
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 | Namespace.xsd.float
143 | ]
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:142:23: warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | Namespace.xsd.decimal,
141 | Namespace.xsd.double,
142 | Namespace.xsd.float
| `- warning: reference to static property 'xsd' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
143 | ]
144 |
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:13:23: note: static property declared here
11 | @dynamicMemberLookup
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
| `- note: static property declared here
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:294:32: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | }
293 | let dt = dtTerm.value
294 | if dt == Namespace.rdf.langString {
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
295 | guard let lang = row[languageColumn] else {
296 | return nil
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:790:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
788 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
789 | var map = [String: KeyPath<Quad, Term>]()
790 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
791 | switch node {
792 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1063:62: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1061 | termValueColumn <- term.value)
1062 | case .language(let lang):
1063 | let id = try getOrSetID(for: Term(iri: Namespace.rdf.langString))
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1064 | insert = termsTable.insert(or: .ignore,
1065 | idColumn <- i,
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1408:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1406 | switch value {
1407 | case 1:
1408 | return Term(value: Namespace.rdf.type, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1410:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1408 | return Term(value: Namespace.rdf.type, type: .iri)
1409 | case 2:
1410 | return Term(value: Namespace.rdf.List, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1412:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1410 | return Term(value: Namespace.rdf.List, type: .iri)
1411 | case 3:
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1414:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1412 | return Term(value: Namespace.rdf.Resource, type: .iri)
1413 | case 4:
1414 | return Term(value: Namespace.rdf.first, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/QuadStore/SQLiteQuadStore.swift:1416:42: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1414 | return Term(value: Namespace.rdf.first, type: .iri)
1415 | case 5:
1416 | return Term(value: Namespace.rdf.rest, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1417 | case 6:
1418 | return Term(value: "http://www.w3.org/2000/01/rdf-schema#comment", type: .iri)
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:97:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
96 | var map = [String: KeyPath<Quad, Term>]()
97 | for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
| `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | switch node {
99 | case let .variable(name, binding: true):
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 | public typealias GroundType = Quad
172 | public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 | public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
| `- note: static property declared here
174 | public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/host/spi-builder-workspace/Sources/Kineo/QuadStore/TriplePatternFragmentQuadStore.swift:284:13: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
282 | // print("(getting RDF from \(u))")
283 | let task = session.dataTask(with: urlRequest) {
284 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
285 | semaphore.signal()
286 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[253/288] Compiling Kineo SPARQLJSON.swift
[254/288] Compiling Kineo SPARQLSerialization.swift
[255/288] Compiling Kineo SPARQLTSV.swift
[256/288] Compiling Kineo SPARQLXML.swift
[257/288] Compiling Kineo Window.swift
[258/288] Compiling Kineo ExpressionParser.swift
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
[259/288] Compiling Kineo QueryParser.swift
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
[260/288] Compiling Kineo Date.swift
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
[261/288] Compiling Kineo LRUCache.swift
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
[262/288] Compiling Kineo Log.swift
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
[263/288] Compiling Kineo QueryPlan.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:36:38: error: cannot find type 'CFAbsoluteTime' in scope
34 | }
35 |
36 | private func getCurrentTime() -> CFAbsoluteTime {
| `- error: cannot find type 'CFAbsoluteTime' in scope
37 | return CFAbsoluteTimeGetCurrent()
38 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlanCost.swift:13:10: warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
11 |
12 | public enum QueryPlanCostError: Error {
13 | case unrecognizedPlan(QueryPlan)
| `- warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:147:17: note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
145 | // Materialized Query Plans
146 |
147 | public protocol QueryPlan: _QueryPlan {
| `- note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
148 | var children : [QueryPlan] { get }
149 | func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>>
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:102:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 |
101 | public struct SPARQLContentNegotiator {
102 | public static var shared = SPARQLContentNegotiator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | public var supportedSerializations : [ResultFormat]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:64:17: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
62 | let semaphore = DispatchSemaphore(value: 0)
63 | let task = session.dataTask(with: urlRequest) {
64 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | semaphore.signal()
66 | }
[264/288] Compiling Kineo QueryPlanCost.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:36:38: error: cannot find type 'CFAbsoluteTime' in scope
34 | }
35 |
36 | private func getCurrentTime() -> CFAbsoluteTime {
| `- error: cannot find type 'CFAbsoluteTime' in scope
37 | return CFAbsoluteTimeGetCurrent()
38 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlanCost.swift:13:10: warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
11 |
12 | public enum QueryPlanCostError: Error {
13 | case unrecognizedPlan(QueryPlan)
| `- warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:147:17: note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
145 | // Materialized Query Plans
146 |
147 | public protocol QueryPlan: _QueryPlan {
| `- note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
148 | var children : [QueryPlan] { get }
149 | func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>>
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:102:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 |
101 | public struct SPARQLContentNegotiator {
102 | public static var shared = SPARQLContentNegotiator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | public var supportedSerializations : [ResultFormat]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:64:17: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
62 | let semaphore = DispatchSemaphore(value: 0)
63 | let task = session.dataTask(with: urlRequest) {
64 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | semaphore.signal()
66 | }
[265/288] Compiling Kineo QueryPlanner.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:36:38: error: cannot find type 'CFAbsoluteTime' in scope
34 | }
35 |
36 | private func getCurrentTime() -> CFAbsoluteTime {
| `- error: cannot find type 'CFAbsoluteTime' in scope
37 | return CFAbsoluteTimeGetCurrent()
38 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlanCost.swift:13:10: warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
11 |
12 | public enum QueryPlanCostError: Error {
13 | case unrecognizedPlan(QueryPlan)
| `- warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:147:17: note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
145 | // Materialized Query Plans
146 |
147 | public protocol QueryPlan: _QueryPlan {
| `- note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
148 | var children : [QueryPlan] { get }
149 | func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>>
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:102:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 |
101 | public struct SPARQLContentNegotiator {
102 | public static var shared = SPARQLContentNegotiator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | public var supportedSerializations : [ResultFormat]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:64:17: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
62 | let semaphore = DispatchSemaphore(value: 0)
63 | let task = session.dataTask(with: urlRequest) {
64 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | semaphore.signal()
66 | }
[266/288] Compiling Kineo QueryRewriting.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:36:38: error: cannot find type 'CFAbsoluteTime' in scope
34 | }
35 |
36 | private func getCurrentTime() -> CFAbsoluteTime {
| `- error: cannot find type 'CFAbsoluteTime' in scope
37 | return CFAbsoluteTimeGetCurrent()
38 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlanCost.swift:13:10: warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
11 |
12 | public enum QueryPlanCostError: Error {
13 | case unrecognizedPlan(QueryPlan)
| `- warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:147:17: note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
145 | // Materialized Query Plans
146 |
147 | public protocol QueryPlan: _QueryPlan {
| `- note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
148 | var children : [QueryPlan] { get }
149 | func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>>
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:102:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 |
101 | public struct SPARQLContentNegotiator {
102 | public static var shared = SPARQLContentNegotiator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | public var supportedSerializations : [ResultFormat]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:64:17: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
62 | let semaphore = DispatchSemaphore(value: 0)
63 | let task = session.dataTask(with: urlRequest) {
64 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | semaphore.signal()
66 | }
[267/288] Compiling Kineo SPARQLClient.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:36:38: error: cannot find type 'CFAbsoluteTime' in scope
34 | }
35 |
36 | private func getCurrentTime() -> CFAbsoluteTime {
| `- error: cannot find type 'CFAbsoluteTime' in scope
37 | return CFAbsoluteTimeGetCurrent()
38 | }
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlanCost.swift:13:10: warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
11 |
12 | public enum QueryPlanCostError: Error {
13 | case unrecognizedPlan(QueryPlan)
| `- warning: associated value 'unrecognizedPlan' of 'Sendable'-conforming enum 'QueryPlanCostError' has non-sendable type 'any QueryPlan'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:147:17: note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
145 | // Materialized Query Plans
146 |
147 | public protocol QueryPlan: _QueryPlan {
| `- note: protocol 'QueryPlan' does not conform to the 'Sendable' protocol
148 | var children : [QueryPlan] { get }
149 | func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>>
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryRewriting.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SPARQLSyntax
10 |
11 | public struct SPARQLQueryRewriter {
| `- note: consider making struct 'SPARQLQueryRewriter' conform to the 'Sendable' protocol
12 | static let shared = SPARQLQueryRewriter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SPARQLQueryRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init () {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:102:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 |
101 | public struct SPARQLContentNegotiator {
102 | public static var shared = SPARQLContentNegotiator()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | public var supportedSerializations : [ResultFormat]
/host/spi-builder-workspace/Sources/Kineo/SPARQL/SPARQLClient.swift:64:17: warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
62 | let semaphore = DispatchSemaphore(value: 0)
63 | let task = session.dataTask(with: urlRequest) {
64 | args = ($0, $1, $2)
| `- warning: mutation of captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | semaphore.signal()
66 | }
[268/288] Compiling Kineo Expression.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/Expression.swift:592:46: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
590 | return Term(value: dt.value, type: .iri)
591 | } else if case .language(_) = val.type {
592 | return Term(value: Namespace.rdf.langString, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
593 | } else {
594 | throw QueryError.typeError("DATATYPE called with non-literal: \(val)")
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[269/288] Compiling Kineo IDQueryPlan.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/Expression.swift:592:46: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
590 | return Term(value: dt.value, type: .iri)
591 | } else if case .language(_) = val.type {
592 | return Term(value: Namespace.rdf.langString, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
593 | } else {
594 | throw QueryError.typeError("DATATYPE called with non-literal: \(val)")
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[270/288] Compiling Kineo IDQueryPlanner.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/Expression.swift:592:46: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
590 | return Term(value: dt.value, type: .iri)
591 | } else if case .language(_) = val.type {
592 | return Term(value: Namespace.rdf.langString, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
593 | } else {
594 | throw QueryError.typeError("DATATYPE called with non-literal: \(val)")
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[271/288] Compiling Kineo MaterializedQueryPlan.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/Expression.swift:592:46: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
590 | return Term(value: dt.value, type: .iri)
591 | } else if case .language(_) = val.type {
592 | return Term(value: Namespace.rdf.langString, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
593 | } else {
594 | throw QueryError.typeError("DATATYPE called with non-literal: \(val)")
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
[272/288] Compiling Kineo Query.swift
/host/spi-builder-workspace/Sources/Kineo/SPARQL/Expression.swift:592:46: warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
590 | return Term(value: dt.value, type: .iri)
591 | } else if case .language(_) = val.type {
592 | return Term(value: Namespace.rdf.langString, type: .iri)
| `- warning: reference to static property 'rdf' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
593 | } else {
594 | throw QueryError.typeError("DATATYPE called with non-literal: \(val)")
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/IRI.swift:14:23: note: static property declared here
12 | public struct Namespace {
13 | public static var xsd = Namespace(value: "http://www.w3.org/2001/XMLSchema#")
14 | public static var rdf = Namespace(value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
| `- note: static property declared here
15 | public static var rdfs = Namespace(value: "http://www.w3.org/2000/01/rdf-schema#")
16 | public static var sd = Namespace(value: "http://www.w3.org/ns/sparql-service-description#")
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:144:23: warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
142 | }
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'joinIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'joinIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'joinIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/MaterializedQueryPlan.swift:145:23: warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | public var selfDescription: String { return "Table { \(columns) ; \(rows.count) rows }" }
144 | public static var joinIdentity = TablePlan(columns: [], rows: [[]], metricsToken: QueryPlanEvaluationMetrics.silentToken)
145 | public static var unionIdentity = TablePlan(columns: [], rows: [], metricsToken: QueryPlanEvaluationMetrics.silentToken)
| |- warning: static property 'unionIdentity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unionIdentity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unionIdentity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public func evaluate(_ metrics: QueryPlanEvaluationMetrics) throws -> AnyIterator<SPARQLResultSolution<Term>> {
147 | metrics.startEvaluation(metricsToken, self)
/host/spi-builder-workspace/Sources/Kineo/Util/Log.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 | public enum LogLevel {
12 | case trace
:
21 | var counts: [String:Int]
22 | }
23 | public static let shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public var level: LogLevel {
/host/spi-builder-workspace/Sources/Kineo/SPARQL/QueryPlan.swift:14:17: error: cannot find type 'CFAbsoluteTime' in scope
12 | var indent: Int
13 | var counter: Int
14 | var stack: [CFAbsoluteTime]
| `- error: cannot find type 'CFAbsoluteTime' in scope
15 | var times: [Token: Double]
16 | var plans: [Token: (Int, _QueryPlan)]
BUILD FAILURE 6.0 linux