The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of gir2swift, reference 17.0.0 (d00424), with Swift 6.0 for Linux on 11 Mar 2025 08:51:02 UTC.

Swift 6 data race errors: 179

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

247 |
248 |     /// All known types so far
249 |     static var knownTypes: Set<GIRType> = fundamentalTypes
    |                |- warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'knownTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'knownTypes' 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
250 |
251 |     /// Mapping from names to known types
/host/spi-builder-workspace/Sources/libgir2swift/utilities/Streams.swift:11:16: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     /// Abstraction for stderr, calling fputs under the hood.
10 |     @usableFromInline
11 |     static var stdErr: StandardError = StandardError()
   |                |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'stdErr' 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
12 |
13 |     /// Abstraction for stdErr
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:84:23: warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |     public static var knownRecords: [ String : Record ] = [:]
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
    |                       |- warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownBitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownBitfields' 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
 85 |     /// context of known functions
 86 |     public static var KnownFunctions: [ String : Function ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:35:23: warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |     /// Current namespace prefix
 35 |     public static var prefix = ""
    |                       |- warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'prefix' 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
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:215:16: warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 |     /// Known enums
215 |     static var enums: Set<GIRType> = []
    |                |- warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'enums' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'enums' 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
216 |
217 |     /// Known bitfields
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:218:16: warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
216 |
217 |     /// Known bitfields
218 |     static var bitfields: Set<GIRType> = []
    |                |- warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bitfields' 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
219 |
220 |     /// Swift `OptionSet` equivalent to the given C `enum`
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:230:16: warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
228 |
229 |     /// Class conversion for a given ref
230 |     static var refRecords: [ GIRType : TypeReference ] = [:]
    |                |- warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'refRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'refRecords' 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
231 |
232 |     /// `Protocol` conversion for a given record
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:167:16: warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
166 |     static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 |     static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
    |                |- warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerTypes' 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
168 |     static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 |     static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:252:16: warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 |
251 |     /// Mapping from names to known types
252 |     static var namedTypes: [String : Set<GIRType>] = {
    |                |- warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'namedTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'namedTypes' 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
253 |         var namedTypes = [String : Set<GIRType>]()
254 |         knownTypes.forEach { addKnownType($0, to: &namedTypes) }
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:131:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 |     /// Reference to void type
131 |     public static var void: TypeReference = TypeReference(type: GIR.voidType)
    |                       |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'void' 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
132 |
133 |     /// Designated initialiser for a type reference
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:12:16: warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public extension GIR {
 12 |     static let voidType = GIRType("Void", ctype: "void")
    |                |- warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'voidType' 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 |     static let voidRef  = TypeReference(type: voidType)
 14 |     static let noneType = GIRType("none", ctype: "void", superType: voidRef, isAlias: true)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
[129/141] Compiling libgir2swift TypeReference.swift
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:249:16: warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
247 |
248 |     /// All known types so far
249 |     static var knownTypes: Set<GIRType> = fundamentalTypes
    |                |- warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'knownTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'knownTypes' 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
250 |
251 |     /// Mapping from names to known types
/host/spi-builder-workspace/Sources/libgir2swift/utilities/Streams.swift:11:16: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     /// Abstraction for stderr, calling fputs under the hood.
10 |     @usableFromInline
11 |     static var stdErr: StandardError = StandardError()
   |                |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'stdErr' 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
12 |
13 |     /// Abstraction for stdErr
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:84:23: warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |     public static var knownRecords: [ String : Record ] = [:]
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
    |                       |- warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownBitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownBitfields' 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
 85 |     /// context of known functions
 86 |     public static var KnownFunctions: [ String : Function ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:35:23: warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |     /// Current namespace prefix
 35 |     public static var prefix = ""
    |                       |- warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'prefix' 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
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:215:16: warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 |     /// Known enums
215 |     static var enums: Set<GIRType> = []
    |                |- warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'enums' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'enums' 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
216 |
217 |     /// Known bitfields
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:218:16: warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
216 |
217 |     /// Known bitfields
218 |     static var bitfields: Set<GIRType> = []
    |                |- warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bitfields' 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
219 |
220 |     /// Swift `OptionSet` equivalent to the given C `enum`
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:230:16: warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
228 |
229 |     /// Class conversion for a given ref
230 |     static var refRecords: [ GIRType : TypeReference ] = [:]
    |                |- warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'refRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'refRecords' 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
231 |
232 |     /// `Protocol` conversion for a given record
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:167:16: warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
166 |     static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 |     static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
    |                |- warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerTypes' 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
168 |     static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 |     static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:252:16: warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 |
251 |     /// Mapping from names to known types
252 |     static var namedTypes: [String : Set<GIRType>] = {
    |                |- warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'namedTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'namedTypes' 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
253 |         var namedTypes = [String : Set<GIRType>]()
254 |         knownTypes.forEach { addKnownType($0, to: &namedTypes) }
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:131:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 |     /// Reference to void type
131 |     public static var void: TypeReference = TypeReference(type: GIR.voidType)
    |                       |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'void' 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
132 |
133 |     /// Designated initialiser for a type reference
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:12:16: warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public extension GIR {
 12 |     static let voidType = GIRType("Void", ctype: "void")
    |                |- warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'voidType' 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 |     static let voidRef  = TypeReference(type: voidType)
 14 |     static let noneType = GIRType("none", ctype: "void", superType: voidRef, isAlias: true)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
[130/141] Compiling libgir2swift GirAlias.swift
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:249:16: warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
247 |
248 |     /// All known types so far
249 |     static var knownTypes: Set<GIRType> = fundamentalTypes
    |                |- warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'knownTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'knownTypes' 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
250 |
251 |     /// Mapping from names to known types
/host/spi-builder-workspace/Sources/libgir2swift/utilities/Streams.swift:11:16: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     /// Abstraction for stderr, calling fputs under the hood.
10 |     @usableFromInline
11 |     static var stdErr: StandardError = StandardError()
   |                |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'stdErr' 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
12 |
13 |     /// Abstraction for stdErr
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:84:23: warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |     public static var knownRecords: [ String : Record ] = [:]
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
    |                       |- warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownBitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownBitfields' 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
 85 |     /// context of known functions
 86 |     public static var KnownFunctions: [ String : Function ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:35:23: warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |     /// Current namespace prefix
 35 |     public static var prefix = ""
    |                       |- warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'prefix' 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
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:215:16: warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 |     /// Known enums
215 |     static var enums: Set<GIRType> = []
    |                |- warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'enums' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'enums' 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
216 |
217 |     /// Known bitfields
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:218:16: warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
216 |
217 |     /// Known bitfields
218 |     static var bitfields: Set<GIRType> = []
    |                |- warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bitfields' 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
219 |
220 |     /// Swift `OptionSet` equivalent to the given C `enum`
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:230:16: warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
228 |
229 |     /// Class conversion for a given ref
230 |     static var refRecords: [ GIRType : TypeReference ] = [:]
    |                |- warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'refRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'refRecords' 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
231 |
232 |     /// `Protocol` conversion for a given record
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:167:16: warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
166 |     static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 |     static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
    |                |- warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerTypes' 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
168 |     static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 |     static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:252:16: warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 |
251 |     /// Mapping from names to known types
252 |     static var namedTypes: [String : Set<GIRType>] = {
    |                |- warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'namedTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'namedTypes' 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
253 |         var namedTypes = [String : Set<GIRType>]()
254 |         knownTypes.forEach { addKnownType($0, to: &namedTypes) }
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:131:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 |     /// Reference to void type
131 |     public static var void: TypeReference = TypeReference(type: GIR.voidType)
    |                       |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'void' 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
132 |
133 |     /// Designated initialiser for a type reference
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:12:16: warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public extension GIR {
 12 |     static let voidType = GIRType("Void", ctype: "void")
    |                |- warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'voidType' 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 |     static let voidRef  = TypeReference(type: voidType)
 14 |     static let noneType = GIRType("none", ctype: "void", superType: voidRef, isAlias: true)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
[131/141] Compiling libgir2swift GirArgument.swift
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:249:16: warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
247 |
248 |     /// All known types so far
249 |     static var knownTypes: Set<GIRType> = fundamentalTypes
    |                |- warning: static property 'knownTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'knownTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'knownTypes' 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
250 |
251 |     /// Mapping from names to known types
/host/spi-builder-workspace/Sources/libgir2swift/utilities/Streams.swift:11:16: warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     /// Abstraction for stderr, calling fputs under the hood.
10 |     @usableFromInline
11 |     static var stdErr: StandardError = StandardError()
   |                |- warning: static property 'stdErr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'stdErr' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'stdErr' 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
12 |
13 |     /// Abstraction for stdErr
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:84:23: warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 82 |     public static var knownRecords: [ String : Record ] = [:]
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
    |                       |- warning: static property 'knownBitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownBitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownBitfields' 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
 85 |     /// context of known functions
 86 |     public static var KnownFunctions: [ String : Function ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:35:23: warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     }
 34 |     /// Current namespace prefix
 35 |     public static var prefix = ""
    |                       |- warning: static property 'prefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'prefix' 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
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:215:16: warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 |     /// Known enums
215 |     static var enums: Set<GIRType> = []
    |                |- warning: static property 'enums' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'enums' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'enums' 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
216 |
217 |     /// Known bitfields
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:218:16: warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
216 |
217 |     /// Known bitfields
218 |     static var bitfields: Set<GIRType> = []
    |                |- warning: static property 'bitfields' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bitfields' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bitfields' 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
219 |
220 |     /// Swift `OptionSet` equivalent to the given C `enum`
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:230:16: warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
228 |
229 |     /// Class conversion for a given ref
230 |     static var refRecords: [ GIRType : TypeReference ] = [:]
    |                |- warning: static property 'refRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'refRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'refRecords' 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
231 |
232 |     /// `Protocol` conversion for a given record
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:167:16: warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
166 |     static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 |     static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
    |                |- warning: static property 'rawPointerTypes' is not concurrency-safe because non-'Sendable' type 'Set<GIRType>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerTypes' 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
168 |     static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 |     static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:252:16: warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
250 |
251 |     /// Mapping from names to known types
252 |     static var namedTypes: [String : Set<GIRType>] = {
    |                |- warning: static property 'namedTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'namedTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'namedTypes' 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
253 |         var namedTypes = [String : Set<GIRType>]()
254 |         knownTypes.forEach { addKnownType($0, to: &namedTypes) }
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:131:23: warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 |     /// Reference to void type
131 |     public static var void: TypeReference = TypeReference(type: GIR.voidType)
    |                       |- warning: static property 'void' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'void' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'void' 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
132 |
133 |     /// Designated initialiser for a type reference
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:12:16: warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | public extension GIR {
 12 |     static let voidType = GIRType("Void", ctype: "void")
    |                |- warning: static property 'voidType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'voidType' 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 |     static let voidRef  = TypeReference(type: voidType)
 14 |     static let noneType = GIRType("none", ctype: "void", superType: voidRef, isAlias: true)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
[132/141] Compiling libgir2swift CodeBuilder.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[133/141] Compiling libgir2swift c2swift.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[134/141] Compiling libgir2swift emit-class.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[135/141] Compiling libgir2swift emit-signals.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[136/141] Compiling libgir2swift gir+swift.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[137/141] Compiling libgir2swift girtypes+swift.swift
/host/spi-builder-workspace/Sources/libgir2swift/emitting/CodeBuilder.swift:29:16: warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// Convenience class for using CodeBuilder DSL. This class was introduced to shorten calls. As for now, this class compensates for some missing DSL features like for-in loops.
28 | class Code {
29 |     static var defaultCodeIndentation: String = "    "
   |                |- warning: static property 'defaultCodeIndentation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultCodeIndentation' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultCodeIndentation' 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
30 |
31 |     /// Code in builder block of this function will have additional indentation passed in the first argument.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:82:23: warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
    |                       |- warning: static property 'knownRecords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownRecords' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownRecords' 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
 83 |     /// context of known records
 84 |     public static var knownBitfields: [ String : Bitfield ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:159:16: warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
157 |     static let gconstpointerB = gconstpointer + "!"
158 |     static let gconstpointerQ = gconstpointer + "?"
159 |     static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
    |                |- warning: static property 'gpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gpointerType' 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
160 |     static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
161 |     static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:123:16: warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
121 |     static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 |     static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 |     static let stringRef = TypeReference(type: stringType)
    |                |- warning: static property 'stringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'stringRef' 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
124 |     static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 |     static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:27:16: warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
 25 |     static let uint8Type   = GIRType("UInt8", ctype: "u_int8_t")
 26 |     static let uint16Type  = GIRType("UInt16", ctype: "u_int16_t")
 27 |     static let uint32Type  = GIRType("UInt32", ctype: "u_int32_t")
    |                |- warning: static property 'uint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'uint32Type' 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
 28 |     static let uint64Type  = GIRType("UInt64", ctype: "u_int64_t")
 29 |     static let swiftNumericTypes: Set<GIRType> = [floatType, doubleType, float80Type, intType, uintType, int8Type, int16Type, int32Type, int64Type, uint8Type, uint16Type, uint32Type, uint64Type]
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:80:23: warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 78 |     public static var knownCIdentifiers: [ String : Datatype ] = [:]
 79 |     /// context of known types
 80 |     public static var knownDataTypes:   [ String : Datatype ] = [:]
    |                       |- warning: static property 'knownDataTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownDataTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownDataTypes' 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
 81 |     /// context of known records
 82 |     public static var knownRecords: [ String : Record ] = [:]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:37:23: warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     public static var prefix = ""
 36 |     /// Current namespace prefix  with a trailing "."
 37 |     public static var dottedPrefix = ""
    |                       |- warning: static property 'dottedPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dottedPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dottedPrefix' 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
 38 |     /// Collection of identifier prefixes
 39 |     public var identifierPrefixes = Array<String>()
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:93:23: warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |     /// Dotted namespace replacements
 93 |     public static var namespaceReplacements: [ Substring : Substring ] = [
    |                       |- warning: static property 'namespaceReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'namespaceReplacements' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'namespaceReplacements' 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
 94 |         "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
 95 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:72:23: warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |
 71 |     /// names of constants to be taken verbatim
 72 |     public static var verbatimConstants: Set<String> = []
    |                       |- warning: static property 'verbatimConstants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'verbatimConstants' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'verbatimConstants' 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
 73 |
 74 |     /// names of override initialisers
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:69:23: warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Names of excluded identifiers.
 69 |     public static var excludeList: Set<String> = []
    |                       |- warning: static property 'excludeList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'excludeList' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'excludeList' 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
 70 |
 71 |     /// names of constants to be taken verbatim
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:75:23: warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 |     /// names of override initialisers
 75 |     public static var overrides: Set<String> = []
    |                       |- warning: static property 'overrides' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'overrides' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'overrides' 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
 76 |
 77 |     /// known types indexed by C identifier.
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:98:23: warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |
 97 |     /// Names of typed collections.
 98 |     public static var typedCollections: Set<String> = [
    |                       |- warning: static property 'typedCollections' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'typedCollections' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'typedCollections' 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
 99 |         "GLib.List", "GLib.SList", "GLib.PtrArray"
100 |     ]
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:150:16: warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
148 |     static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 |     static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 |     static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
    |                |- warning: static property 'rawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'rawPointerType' 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
151 |     static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
152 |     static let opaquePointer = "OpaquePointer"
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:400:20: note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
398 | /// Representation of a raw pointer type, its relationship to other types,
399 | /// and casting operations
400 | public final class GIRRawPointerType: GIRType {
    |                    `- note: class 'GIRRawPointerType' does not conform to the 'Sendable' protocol
401 |     /// Return the default cast to convert the given expression to an opaque pointer
402 |     /// - Parameters:
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:103:23: warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |     /// Name of the GLib pointer wrapper that every type conforms to.
103 |     public static var glibPointerWrapper = "GLib.PointerWrapper"
    |                       |- warning: static property 'glibPointerWrapper' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'glibPointerWrapper' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'glibPointerWrapper' 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
104 |
105 |     /// designated constructor
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:193:16: warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
191 |     static let gerror = "GError"
192 |     static let errorT = "GLibError"
193 |     static let errorProtocol = GIRType(error, ctype: "")
    |                |- warning: static property 'errorProtocol' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'errorProtocol' 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
194 |     static let errorReference = TypeReference(type: errorProtocol)
195 |     static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
/host/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:12:14: note: class 'GIRType' does not conform to the 'Sendable' protocol
 10 | /// Representation of a fundamental type, its relationship to other types,
 11 | /// and casting operations
 12 | public class GIRType: Hashable {
    |              `- note: class 'GIRType' does not conform to the 'Sendable' protocol
 13 |     /// Name of the type defined in the GIR file, without a namespace
 14 |     public let name: String
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:48:16: warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// Idiomatic swift type replacements for parameters
48 |     static let swiftParameterTypeReplacements = Dictionary(uniqueKeysWithValues: ints + floats + bools + rawCharPtrs + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftParameterTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftParameterTypeReplacements' 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
49 |
50 |     /// Mapping of gir type names to Swift names for underlying C types
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:42:16: warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Idiomatic swift type replacements for return types
42 |     static let swiftReturnTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + ints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftReturnTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftReturnTypeReplacements' 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
43 |
44 |     /// Idiomatic swift type replacements for signals
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
/host/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnowTypeSets.swift:45:16: warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// Idiomatic swift type replacements for signals
45 |     static let swiftSignalTypeReplacements = Dictionary(uniqueKeysWithValues: strings + rawStrings + sints + uints + floats + bools + gpointers + gpointerPointers)
   |                |- warning: static property 'swiftSignalTypeReplacements' is not concurrency-safe because non-'Sendable' type '[TypeReference : TypeReference]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'swiftSignalTypeReplacements' 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
46 |
47 |     /// Idiomatic swift type replacements for parameters
/host/spi-builder-workspace/Sources/libgir2swift/models/TypeReference.swift:11:15: note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
  9 |
 10 | /// Reference to a GIR type.
 11 | public struct TypeReference: Hashable {
    |               |- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
    |               `- note: consider making struct 'TypeReference' conform to the 'Sendable' protocol
 12 |     /// The type referenced
 13 |     public let type: GIRType
[138/142] Wrapping AST for libgir2swift for debugging
[140/144] Emitting module gir2swift
[141/144] Compiling gir2swift main.swift
[142/145] Wrapping AST for gir2swift for debugging
[143/145] Write Objects.LinkFileList
[144/145] Linking gir2swift
Build complete! (56.99s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.6",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftlibxml",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftLibXML.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "gir2swift",
  "name" : "gir2swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "gir2swift",
      "targets" : [
        "gir2swift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "libgir2swift",
      "targets" : [
        "libgir2swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gir2swift-plugin",
      "targets" : [
        "gir2swift-plugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libgir2swift",
      "module_type" : "SwiftTarget",
      "name" : "libgir2swift",
      "path" : "Sources/libgir2swift",
      "product_dependencies" : [
        "SwiftLibXML",
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "gir2swift",
        "libgir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "emitting/CodeBuilder.swift",
        "emitting/c2swift.swift",
        "emitting/emit-class.swift",
        "emitting/emit-signals.swift",
        "emitting/gir+swift.swift",
        "emitting/girtypes+swift.swift",
        "emitting/gtk2swiftdoc.swift",
        "models/ConversionContext.swift",
        "models/Gir+Enums.swift",
        "models/Gir+KnowTypeSets.swift",
        "models/Gir+KnownTypes.swift",
        "models/Gir.swift",
        "models/Gir2Swift.swift",
        "models/GirType.swift",
        "models/TypeConversion.swift",
        "models/TypeReference.swift",
        "models/gir elements/GirAlias.swift",
        "models/gir elements/GirArgument.swift",
        "models/gir elements/GirBitfield.swift",
        "models/gir elements/GirCType.swift",
        "models/gir elements/GirCallback.swift",
        "models/gir elements/GirClass.swift",
        "models/gir elements/GirConstant.swift",
        "models/gir elements/GirDatatype.swift",
        "models/gir elements/GirEnumeration.swift",
        "models/gir elements/GirField.swift",
        "models/gir elements/GirFunction.swift",
        "models/gir elements/GirInterface.swift",
        "models/gir elements/GirMethod.swift",
        "models/gir elements/GirProperty.swift",
        "models/gir elements/GirRecord.swift",
        "models/gir elements/GirSignal.swift",
        "models/gir elements/GirThing.swift",
        "models/gir elements/GirUnion.swift",
        "models/girtype+xml.swift",
        "utilities/Character+Utilities.swift",
        "utilities/Collection+Utilities.swift",
        "utilities/Streams.swift",
        "utilities/String+Substring.swift",
        "utilities/String+Utilities.swift",
        "utilities/System.swift",
        "utilities/XML+Utilities.swift",
        "utilities/generation.swift",
        "utilities/planning.swift",
        "utilities/postprocessing.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "gir2swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "gir2swiftTests",
      "path" : "Tests/gir2swiftTests",
      "sources" : [
        "gir2swiftTests.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "gir2swift_plugin",
      "module_type" : "PluginTarget",
      "name" : "gir2swift-plugin",
      "path" : "Plugins/gir2swift-plugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "gir2swift-plugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "gir2swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "gir2swift",
      "module_type" : "SwiftTarget",
      "name" : "gir2swift",
      "path" : "Sources/gir2swift",
      "product_memberships" : [
        "gir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.