Build Information
Failed to build Kineo, reference master (190631
), with Swift 6.0 for Linux on 30 Oct 2024 23:58:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/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/RDF/SerdParser.swift:151:72: 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
149 | return Term(value: node.value, type: .language(lang))
150 | } else {
151 | let dt = TermDataType(stringLiteral: datatype ?? 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
152 | return Term(value: node.value, type: .datatype(dt))
153 | }
/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/RDF/Turtle.swift:93:66: 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
91 | switch self.type {
92 | case .iri:
93 | if position == .predicate && self.value == 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
94 | return "a"
95 | }
/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#")
[254/288] Compiling Kineo RDFParserCombined.swift
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:58:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SPARQLSyntax
11 |
12 | public class RDFSerializationConfiguration {
| `- note: class 'RDFSerializationConfiguration' does not conform to the 'Sendable' protocol
13 | public enum SerializationError: Error {
14 | case unrecognizedFileType(String)
:
56 | }
57 |
58 | public static let shared = { () -> RDFSerializationConfiguration in
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' 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
59 | let c = RDFSerializationConfiguration()
60 | c.registerSerializer(NTriplesSerializer.self, withType: "text/n-triples", extensions: [".nt"], mediaTypes: [])
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:353:34: 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
351 | }
352 | let lexical = self.value
353 | if dt.value == Namespace.xsd.dateTime {
| `- 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
354 | if #available (OSX 10.12, *) {
355 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/RDF.swift:364:41: 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
362 | return nil
363 | }
364 | } else if dt.value == Namespace.xsd.date {
| `- 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
365 | if #available (OSX 10.12, *) {
366 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/SerdParser.swift:81:5: warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| `- warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/RDF/SerdParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
8 | import serd
9 | import Foundation
10 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
11 |
12 | private class ParserContext {
:
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| |- note: annotate 'sentinel_graph' 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
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/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/RDF/SerdParser.swift:151:72: 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
149 | return Term(value: node.value, type: .language(lang))
150 | } else {
151 | let dt = TermDataType(stringLiteral: datatype ?? 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
152 | return Term(value: node.value, type: .datatype(dt))
153 | }
/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/RDF/Turtle.swift:93:66: 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
91 | switch self.type {
92 | case .iri:
93 | if position == .predicate && self.value == 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
94 | return "a"
95 | }
/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#")
[255/288] Compiling Kineo RDFXML.swift
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:58:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SPARQLSyntax
11 |
12 | public class RDFSerializationConfiguration {
| `- note: class 'RDFSerializationConfiguration' does not conform to the 'Sendable' protocol
13 | public enum SerializationError: Error {
14 | case unrecognizedFileType(String)
:
56 | }
57 |
58 | public static let shared = { () -> RDFSerializationConfiguration in
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' 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
59 | let c = RDFSerializationConfiguration()
60 | c.registerSerializer(NTriplesSerializer.self, withType: "text/n-triples", extensions: [".nt"], mediaTypes: [])
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:353:34: 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
351 | }
352 | let lexical = self.value
353 | if dt.value == Namespace.xsd.dateTime {
| `- 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
354 | if #available (OSX 10.12, *) {
355 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/RDF.swift:364:41: 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
362 | return nil
363 | }
364 | } else if dt.value == Namespace.xsd.date {
| `- 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
365 | if #available (OSX 10.12, *) {
366 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/SerdParser.swift:81:5: warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| `- warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/RDF/SerdParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
8 | import serd
9 | import Foundation
10 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
11 |
12 | private class ParserContext {
:
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| |- note: annotate 'sentinel_graph' 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
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/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/RDF/SerdParser.swift:151:72: 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
149 | return Term(value: node.value, type: .language(lang))
150 | } else {
151 | let dt = TermDataType(stringLiteral: datatype ?? 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
152 | return Term(value: node.value, type: .datatype(dt))
153 | }
/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/RDF/Turtle.swift:93:66: 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
91 | switch self.type {
92 | case .iri:
93 | if position == .predicate && self.value == 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
94 | return "a"
95 | }
/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#")
[256/288] Compiling Kineo SerdParser.swift
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:58:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SPARQLSyntax
11 |
12 | public class RDFSerializationConfiguration {
| `- note: class 'RDFSerializationConfiguration' does not conform to the 'Sendable' protocol
13 | public enum SerializationError: Error {
14 | case unrecognizedFileType(String)
:
56 | }
57 |
58 | public static let shared = { () -> RDFSerializationConfiguration in
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' 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
59 | let c = RDFSerializationConfiguration()
60 | c.registerSerializer(NTriplesSerializer.self, withType: "text/n-triples", extensions: [".nt"], mediaTypes: [])
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:353:34: 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
351 | }
352 | let lexical = self.value
353 | if dt.value == Namespace.xsd.dateTime {
| `- 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
354 | if #available (OSX 10.12, *) {
355 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/RDF.swift:364:41: 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
362 | return nil
363 | }
364 | } else if dt.value == Namespace.xsd.date {
| `- 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
365 | if #available (OSX 10.12, *) {
366 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/SerdParser.swift:81:5: warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| `- warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/RDF/SerdParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
8 | import serd
9 | import Foundation
10 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
11 |
12 | private class ParserContext {
:
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| |- note: annotate 'sentinel_graph' 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
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/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/RDF/SerdParser.swift:151:72: 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
149 | return Term(value: node.value, type: .language(lang))
150 | } else {
151 | let dt = TermDataType(stringLiteral: datatype ?? 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
152 | return Term(value: node.value, type: .datatype(dt))
153 | }
/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/RDF/Turtle.swift:93:66: 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
91 | switch self.type {
92 | case .iri:
93 | if position == .predicate && self.value == 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
94 | return "a"
95 | }
/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#")
[257/288] Compiling Kineo Turtle.swift
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:58:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import SPARQLSyntax
11 |
12 | public class RDFSerializationConfiguration {
| `- note: class 'RDFSerializationConfiguration' does not conform to the 'Sendable' protocol
13 | public enum SerializationError: Error {
14 | case unrecognizedFileType(String)
:
56 | }
57 |
58 | public static let shared = { () -> RDFSerializationConfiguration in
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RDFSerializationConfiguration' 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
59 | let c = RDFSerializationConfiguration()
60 | c.registerSerializer(NTriplesSerializer.self, withType: "text/n-triples", extensions: [".nt"], mediaTypes: [])
/host/spi-builder-workspace/Sources/Kineo/RDF/RDF.swift:353:34: 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
351 | }
352 | let lexical = self.value
353 | if dt.value == Namespace.xsd.dateTime {
| `- 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
354 | if #available (OSX 10.12, *) {
355 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/RDF.swift:364:41: 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
362 | return nil
363 | }
364 | } else if dt.value == Namespace.xsd.date {
| `- 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
365 | if #available (OSX 10.12, *) {
366 | let f = W3CDTFLocatedDateFormatter()
/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/RDF/SerdParser.swift:81:5: warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| `- warning: let 'sentinel_graph' is not concurrency-safe because non-'Sendable' type 'Term' may have shared mutable state; this is an error in the Swift 6 language mode
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/RDF/SerdParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
8 | import serd
9 | import Foundation
10 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
11 |
12 | private class ParserContext {
:
79 | let serd_free_handle : @convention(c) (UnsafeMutableRawPointer?) -> Void = { (ptr) -> Void in }
80 |
81 | let sentinel_graph = Term(iri: "tag:kasei.us,2018:sentinel-graph")
| |- note: annotate 'sentinel_graph' 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
82 | let serd_statement_sink : @convention(c) (UnsafeMutableRawPointer?, SerdStatementFlags, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?, UnsafePointer<SerdNode>?) -> SerdStatus = { (handle, flags, graph, subject, predicate, object, datatype, language) -> SerdStatus in
83 | guard let handle = handle, let subject = subject, let predicate = predicate, let object = object else { return SERD_FAILURE }
/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/RDF/SerdParser.swift:151:72: 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
149 | return Term(value: node.value, type: .language(lang))
150 | } else {
151 | let dt = TermDataType(stringLiteral: datatype ?? 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
152 | return Term(value: node.value, type: .datatype(dt))
153 | }
/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/RDF/Turtle.swift:93:66: 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
91 | switch self.type {
92 | case .iri:
93 | if position == .predicate && self.value == 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
94 | return "a"
95 | }
/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#")
[258/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)]
[259/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)]
[260/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)]
[261/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)]
[262/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)]
[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 DiomedeQuadStore.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/Graph.swift:46:45: 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
44 |
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: 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
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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/Graph.swift:47:44: 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
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: 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
48 | let _nil = Term(iri: Namespace.rdf.nil)
49 |
/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/Graph.swift:48:44: 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
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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
49 |
50 | var head = self
/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/Graph.swift:131:55: 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 | public func instancesOf(_ type: Term) throws -> [VertexType] {
130 | var qp = QuadPattern.all
131 | qp.predicate = .bound(Term(iri: 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 | qp.object = .bound(type)
133 | qp.graph = .bound(term)
/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/IdentityMap.swift:372: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
370 | switch value {
371 | case 1:
372 | 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
373 | case 2:
374 | 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/IdentityMap.swift:374: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
372 | return Term(value: Namespace.rdf.type, type: .iri)
373 | case 2:
374 | 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
375 | case 3:
376 | 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/IdentityMap.swift:376: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
374 | return Term(value: Namespace.rdf.List, type: .iri)
375 | case 3:
376 | 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
377 | case 4:
378 | 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/IdentityMap.swift:378: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
376 | return Term(value: Namespace.rdf.Resource, type: .iri)
377 | case 4:
378 | 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
379 | case 5:
380 | 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/IdentityMap.swift:380: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
378 | return Term(value: Namespace.rdf.first, type: .iri)
379 | case 5:
380 | 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
381 | case 6:
382 | 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/QuadStore/MemoryQuadStore.swift:14:14: warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
12 | open class MemoryQuadStore: Sequence, MutableQuadStoreProtocol {
13 | public enum MemoryQuadStoreError: Error {
14 | case existingMapping(UInt64, Term)
| `- warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
15 | case unexpectedError
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
7 |
8 | import Foundation
9 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
10 |
11 | // swiftlint:disable:next type_body_length
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:108: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
106 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
107 | var map = [String: KeyPath<Quad, Term>]()
108 | 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
109 | switch node {
110 | 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/MemoryQuadStore.swift:320: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
318 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
319 | var map = [String: KeyPath<Quad, Term>]()
320 | 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
321 | switch node {
322 | 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/QuadStore.swift:146:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
144 | }
145 |
146 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
147 | func synchronousDataTaskWithURL(url: URL) throws -> (Data, URLResponse?) {
148 | var data: Data?, response: URLResponse?, error: Error?
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:179:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | let parser = RDFParserCombined()
178 | var quads = [Quad]()
179 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 | let (data, resp) = try session.synchronousDataTaskWithURL(url: url)
181 | var mt: String? = nil
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:315:41: 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
313 | preds[p, default: 0] += 1
314 |
315 | if p == Term(iri: 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
316 | let c = q.object
317 | classes[c, default: 0] += 1
/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#")
[269/288] Compiling Kineo Graph.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/Graph.swift:46:45: 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
44 |
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: 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
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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/Graph.swift:47:44: 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
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: 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
48 | let _nil = Term(iri: Namespace.rdf.nil)
49 |
/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/Graph.swift:48:44: 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
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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
49 |
50 | var head = self
/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/Graph.swift:131:55: 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 | public func instancesOf(_ type: Term) throws -> [VertexType] {
130 | var qp = QuadPattern.all
131 | qp.predicate = .bound(Term(iri: 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 | qp.object = .bound(type)
133 | qp.graph = .bound(term)
/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/IdentityMap.swift:372: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
370 | switch value {
371 | case 1:
372 | 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
373 | case 2:
374 | 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/IdentityMap.swift:374: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
372 | return Term(value: Namespace.rdf.type, type: .iri)
373 | case 2:
374 | 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
375 | case 3:
376 | 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/IdentityMap.swift:376: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
374 | return Term(value: Namespace.rdf.List, type: .iri)
375 | case 3:
376 | 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
377 | case 4:
378 | 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/IdentityMap.swift:378: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
376 | return Term(value: Namespace.rdf.Resource, type: .iri)
377 | case 4:
378 | 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
379 | case 5:
380 | 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/IdentityMap.swift:380: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
378 | return Term(value: Namespace.rdf.first, type: .iri)
379 | case 5:
380 | 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
381 | case 6:
382 | 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/QuadStore/MemoryQuadStore.swift:14:14: warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
12 | open class MemoryQuadStore: Sequence, MutableQuadStoreProtocol {
13 | public enum MemoryQuadStoreError: Error {
14 | case existingMapping(UInt64, Term)
| `- warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
15 | case unexpectedError
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
7 |
8 | import Foundation
9 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
10 |
11 | // swiftlint:disable:next type_body_length
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:108: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
106 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
107 | var map = [String: KeyPath<Quad, Term>]()
108 | 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
109 | switch node {
110 | 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/MemoryQuadStore.swift:320: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
318 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
319 | var map = [String: KeyPath<Quad, Term>]()
320 | 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
321 | switch node {
322 | 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/QuadStore.swift:146:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
144 | }
145 |
146 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
147 | func synchronousDataTaskWithURL(url: URL) throws -> (Data, URLResponse?) {
148 | var data: Data?, response: URLResponse?, error: Error?
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:179:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | let parser = RDFParserCombined()
178 | var quads = [Quad]()
179 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 | let (data, resp) = try session.synchronousDataTaskWithURL(url: url)
181 | var mt: String? = nil
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:315:41: 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
313 | preds[p, default: 0] += 1
314 |
315 | if p == Term(iri: 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
316 | let c = q.object
317 | classes[c, default: 0] += 1
/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#")
[270/288] Compiling Kineo IdentityMap.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/Graph.swift:46:45: 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
44 |
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: 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
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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/Graph.swift:47:44: 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
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: 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
48 | let _nil = Term(iri: Namespace.rdf.nil)
49 |
/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/Graph.swift:48:44: 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
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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
49 |
50 | var head = self
/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/Graph.swift:131:55: 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 | public func instancesOf(_ type: Term) throws -> [VertexType] {
130 | var qp = QuadPattern.all
131 | qp.predicate = .bound(Term(iri: 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 | qp.object = .bound(type)
133 | qp.graph = .bound(term)
/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/IdentityMap.swift:372: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
370 | switch value {
371 | case 1:
372 | 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
373 | case 2:
374 | 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/IdentityMap.swift:374: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
372 | return Term(value: Namespace.rdf.type, type: .iri)
373 | case 2:
374 | 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
375 | case 3:
376 | 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/IdentityMap.swift:376: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
374 | return Term(value: Namespace.rdf.List, type: .iri)
375 | case 3:
376 | 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
377 | case 4:
378 | 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/IdentityMap.swift:378: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
376 | return Term(value: Namespace.rdf.Resource, type: .iri)
377 | case 4:
378 | 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
379 | case 5:
380 | 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/IdentityMap.swift:380: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
378 | return Term(value: Namespace.rdf.first, type: .iri)
379 | case 5:
380 | 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
381 | case 6:
382 | 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/QuadStore/MemoryQuadStore.swift:14:14: warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
12 | open class MemoryQuadStore: Sequence, MutableQuadStoreProtocol {
13 | public enum MemoryQuadStoreError: Error {
14 | case existingMapping(UInt64, Term)
| `- warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
15 | case unexpectedError
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
7 |
8 | import Foundation
9 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
10 |
11 | // swiftlint:disable:next type_body_length
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:108: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
106 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
107 | var map = [String: KeyPath<Quad, Term>]()
108 | 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
109 | switch node {
110 | 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/MemoryQuadStore.swift:320: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
318 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
319 | var map = [String: KeyPath<Quad, Term>]()
320 | 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
321 | switch node {
322 | 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/QuadStore.swift:146:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
144 | }
145 |
146 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
147 | func synchronousDataTaskWithURL(url: URL) throws -> (Data, URLResponse?) {
148 | var data: Data?, response: URLResponse?, error: Error?
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:179:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | let parser = RDFParserCombined()
178 | var quads = [Quad]()
179 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 | let (data, resp) = try session.synchronousDataTaskWithURL(url: url)
181 | var mt: String? = nil
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:315:41: 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
313 | preds[p, default: 0] += 1
314 |
315 | if p == Term(iri: 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
316 | let c = q.object
317 | classes[c, default: 0] += 1
/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#")
[271/288] Compiling Kineo MemoryQuadStore.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/Graph.swift:46:45: 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
44 |
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: 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
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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/Graph.swift:47:44: 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
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: 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
48 | let _nil = Term(iri: Namespace.rdf.nil)
49 |
/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/Graph.swift:48:44: 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
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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
49 |
50 | var head = self
/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/Graph.swift:131:55: 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 | public func instancesOf(_ type: Term) throws -> [VertexType] {
130 | var qp = QuadPattern.all
131 | qp.predicate = .bound(Term(iri: 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 | qp.object = .bound(type)
133 | qp.graph = .bound(term)
/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/IdentityMap.swift:372: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
370 | switch value {
371 | case 1:
372 | 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
373 | case 2:
374 | 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/IdentityMap.swift:374: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
372 | return Term(value: Namespace.rdf.type, type: .iri)
373 | case 2:
374 | 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
375 | case 3:
376 | 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/IdentityMap.swift:376: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
374 | return Term(value: Namespace.rdf.List, type: .iri)
375 | case 3:
376 | 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
377 | case 4:
378 | 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/IdentityMap.swift:378: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
376 | return Term(value: Namespace.rdf.Resource, type: .iri)
377 | case 4:
378 | 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
379 | case 5:
380 | 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/IdentityMap.swift:380: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
378 | return Term(value: Namespace.rdf.first, type: .iri)
379 | case 5:
380 | 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
381 | case 6:
382 | 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/QuadStore/MemoryQuadStore.swift:14:14: warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
12 | open class MemoryQuadStore: Sequence, MutableQuadStoreProtocol {
13 | public enum MemoryQuadStoreError: Error {
14 | case existingMapping(UInt64, Term)
| `- warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
15 | case unexpectedError
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
7 |
8 | import Foundation
9 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
10 |
11 | // swiftlint:disable:next type_body_length
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:108: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
106 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
107 | var map = [String: KeyPath<Quad, Term>]()
108 | 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
109 | switch node {
110 | 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/MemoryQuadStore.swift:320: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
318 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
319 | var map = [String: KeyPath<Quad, Term>]()
320 | 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
321 | switch node {
322 | 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/QuadStore.swift:146:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
144 | }
145 |
146 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
147 | func synchronousDataTaskWithURL(url: URL) throws -> (Data, URLResponse?) {
148 | var data: Data?, response: URLResponse?, error: Error?
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:179:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | let parser = RDFParserCombined()
178 | var quads = [Quad]()
179 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 | let (data, resp) = try session.synchronousDataTaskWithURL(url: url)
181 | var mt: String? = nil
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:315:41: 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
313 | preds[p, default: 0] += 1
314 |
315 | if p == Term(iri: 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
316 | let c = q.object
317 | classes[c, default: 0] += 1
/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#")
[272/288] Compiling Kineo QuadStore.swift
/host/spi-builder-workspace/Sources/Kineo/QuadStore/Graph.swift:46:45: 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
44 |
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: 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
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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/Graph.swift:47:44: 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
45 | public func listElements() throws -> [GraphVertex<QS>] {
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: 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
48 | let _nil = Term(iri: Namespace.rdf.nil)
49 |
/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/Graph.swift:48:44: 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
46 | let first = Term(iri: Namespace.rdf.first)
47 | let rest = Term(iri: Namespace.rdf.rest)
48 | let _nil = Term(iri: 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
49 |
50 | var head = self
/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/Graph.swift:131:55: 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 | public func instancesOf(_ type: Term) throws -> [VertexType] {
130 | var qp = QuadPattern.all
131 | qp.predicate = .bound(Term(iri: 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 | qp.object = .bound(type)
133 | qp.graph = .bound(term)
/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/IdentityMap.swift:372: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
370 | switch value {
371 | case 1:
372 | 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
373 | case 2:
374 | 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/IdentityMap.swift:374: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
372 | return Term(value: Namespace.rdf.type, type: .iri)
373 | case 2:
374 | 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
375 | case 3:
376 | 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/IdentityMap.swift:376: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
374 | return Term(value: Namespace.rdf.List, type: .iri)
375 | case 3:
376 | 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
377 | case 4:
378 | 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/IdentityMap.swift:378: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
376 | return Term(value: Namespace.rdf.Resource, type: .iri)
377 | case 4:
378 | 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
379 | case 5:
380 | 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/IdentityMap.swift:380: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
378 | return Term(value: Namespace.rdf.first, type: .iri)
379 | case 5:
380 | 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
381 | case 6:
382 | 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/QuadStore/MemoryQuadStore.swift:14:14: warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
12 | open class MemoryQuadStore: Sequence, MutableQuadStoreProtocol {
13 | public enum MemoryQuadStoreError: Error {
14 | case existingMapping(UInt64, Term)
| `- warning: associated value 'existingMapping' of 'Sendable'-conforming enum 'MemoryQuadStoreError' has non-sendable type 'Term'; this is an error in the Swift 6 language mode
15 | case unexpectedError
16 | }
/host/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDF.swift:167:15: note: struct 'Term' does not conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct Term: CustomStringConvertible, CustomDebugStringConvertible, Hashable, Codable {
| `- note: struct 'Term' does not conform to the 'Sendable' protocol
168 | public var value: String
169 | public var type: TermType
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
7 |
8 | import Foundation
9 | import SPARQLSyntax
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SPARQLSyntax'
10 |
11 | // swiftlint:disable:next type_body_length
/host/spi-builder-workspace/Sources/Kineo/QuadStore/MemoryQuadStore.swift:108: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
106 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
107 | var map = [String: KeyPath<Quad, Term>]()
108 | 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
109 | switch node {
110 | 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/MemoryQuadStore.swift:320: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
318 | public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
319 | var map = [String: KeyPath<Quad, Term>]()
320 | 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
321 | switch node {
322 | 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/QuadStore.swift:146:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
144 | }
145 |
146 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
147 | func synchronousDataTaskWithURL(url: URL) throws -> (Data, URLResponse?) {
148 | var data: Data?, response: URLResponse?, error: Error?
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:179:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
177 | let parser = RDFParserCombined()
178 | var quads = [Quad]()
179 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
180 | let (data, resp) = try session.synchronousDataTaskWithURL(url: url)
181 | var mt: String? = nil
/host/spi-builder-workspace/Sources/Kineo/QuadStore/QuadStore.swift:315:41: 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
313 | preds[p, default: 0] += 1
314 |
315 | if p == Term(iri: 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
316 | let c = q.object
317 | classes[c, default: 0] += 1
/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#")
BUILD FAILURE 6.0 linux