Build Information
Successful build of gir2swift, reference 17.0.0 (d00424
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 21:47:37 UTC.
Swift 6 data race errors: 358
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: add '@MainActor' to make static property 'gintAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | static let glongType = GIRType("glong", ctype: culongType.ctype)
65 | static let glongRef = TypeReference(type: glongType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:64:16: warning: static property 'glongType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
62 | static let gintRef = TypeReference(type: gintType)
63 | static let gintAlias = GIRType("gint", ctype: "gint", superType: gintRef, isAlias: true)
64 | static let glongType = GIRType("glong", ctype: culongType.ctype)
| |- warning: static property 'glongType' 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: add '@MainActor' to make static property 'glongType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | static let glongRef = TypeReference(type: glongType)
66 | static let glongAlias = GIRType("glong", ctype: "glong", superType: glongRef, isAlias: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:65:16: warning: static property 'glongRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
63 | static let gintAlias = GIRType("gint", ctype: "gint", superType: gintRef, isAlias: true)
64 | static let glongType = GIRType("glong", ctype: culongType.ctype)
65 | static let glongRef = TypeReference(type: glongType)
| |- warning: static property 'glongRef' 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: add '@MainActor' to make static property 'glongRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | static let glongAlias = GIRType("glong", ctype: "glong", superType: glongRef, isAlias: true)
67 | static let gshortType = GIRType("gshort", ctype: cshortType.ctype)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:66:16: warning: static property 'glongAlias' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
64 | static let glongType = GIRType("glong", ctype: culongType.ctype)
65 | static let glongRef = TypeReference(type: glongType)
66 | static let glongAlias = GIRType("glong", ctype: "glong", superType: glongRef, isAlias: true)
| |- warning: static property 'glongAlias' 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: add '@MainActor' to make static property 'glongAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | static let gshortType = GIRType("gshort", ctype: cshortType.ctype)
68 | static let gshortRef = TypeReference(type: gshortType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:67:16: warning: static property 'gshortType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static let glongRef = TypeReference(type: glongType)
66 | static let glongAlias = GIRType("glong", ctype: "glong", superType: glongRef, isAlias: true)
67 | static let gshortType = GIRType("gshort", ctype: cshortType.ctype)
| |- warning: static property 'gshortType' 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: add '@MainActor' to make static property 'gshortType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | static let gshortRef = TypeReference(type: gshortType)
69 | static let gshortAlias = GIRType("gshort", ctype: "gshort", superType: gshortRef, isAlias: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:68:16: warning: static property 'gshortRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
66 | static let glongAlias = GIRType("glong", ctype: "glong", superType: glongRef, isAlias: true)
67 | static let gshortType = GIRType("gshort", ctype: cshortType.ctype)
68 | static let gshortRef = TypeReference(type: gshortType)
| |- warning: static property 'gshortRef' 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: add '@MainActor' to make static property 'gshortRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | static let gshortAlias = GIRType("gshort", ctype: "gshort", superType: gshortRef, isAlias: true)
70 | static let gucharType = GIRType(guchar, ctype: guchar)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:69:16: warning: static property 'gshortAlias' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
67 | static let gshortType = GIRType("gshort", ctype: cshortType.ctype)
68 | static let gshortRef = TypeReference(type: gshortType)
69 | static let gshortAlias = GIRType("gshort", ctype: "gshort", superType: gshortRef, isAlias: true)
| |- warning: static property 'gshortAlias' 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: add '@MainActor' to make static property 'gshortAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | static let gucharType = GIRType(guchar, ctype: guchar)
71 | static let guintType = GIRType("guint", ctype: cuintType.ctype)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:70:16: warning: static property 'gucharType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
68 | static let gshortRef = TypeReference(type: gshortType)
69 | static let gshortAlias = GIRType("gshort", ctype: "gshort", superType: gshortRef, isAlias: true)
70 | static let gucharType = GIRType(guchar, ctype: guchar)
| |- warning: static property 'gucharType' 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: add '@MainActor' to make static property 'gucharType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | static let guintType = GIRType("guint", ctype: cuintType.ctype)
72 | static let guintRef = TypeReference(type: guintType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:71:16: warning: static property 'guintType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
69 | static let gshortAlias = GIRType("gshort", ctype: "gshort", superType: gshortRef, isAlias: true)
70 | static let gucharType = GIRType(guchar, ctype: guchar)
71 | static let guintType = GIRType("guint", ctype: cuintType.ctype)
| |- warning: static property 'guintType' 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: add '@MainActor' to make static property 'guintType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static let guintRef = TypeReference(type: guintType)
73 | static let guintAlias = GIRType("guint", ctype: "guint", superType: guintRef, isAlias: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:72:16: warning: static property 'guintRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
70 | static let gucharType = GIRType(guchar, ctype: guchar)
71 | static let guintType = GIRType("guint", ctype: cuintType.ctype)
72 | static let guintRef = TypeReference(type: guintType)
| |- warning: static property 'guintRef' 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: add '@MainActor' to make static property 'guintRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static let guintAlias = GIRType("guint", ctype: "guint", superType: guintRef, isAlias: true)
74 | static let gulongType = GIRType("gulong", ctype: culongType.ctype)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:73:16: warning: static property 'guintAlias' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
71 | static let guintType = GIRType("guint", ctype: cuintType.ctype)
72 | static let guintRef = TypeReference(type: guintType)
73 | static let guintAlias = GIRType("guint", ctype: "guint", superType: guintRef, isAlias: true)
| |- warning: static property 'guintAlias' 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: add '@MainActor' to make static property 'guintAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | static let gulongType = GIRType("gulong", ctype: culongType.ctype)
75 | static let gulongRef = TypeReference(type: gulongType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:74:16: warning: static property 'gulongType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
72 | static let guintRef = TypeReference(type: guintType)
73 | static let guintAlias = GIRType("guint", ctype: "guint", superType: guintRef, isAlias: true)
74 | static let gulongType = GIRType("gulong", ctype: culongType.ctype)
| |- warning: static property 'gulongType' 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: add '@MainActor' to make static property 'gulongType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | static let gulongRef = TypeReference(type: gulongType)
76 | static let gulongAlias = GIRType("gulong", ctype: "gulong", superType: gulongRef, isAlias: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:75:16: warning: static property 'gulongRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
73 | static let guintAlias = GIRType("guint", ctype: "guint", superType: guintRef, isAlias: true)
74 | static let gulongType = GIRType("gulong", ctype: culongType.ctype)
75 | static let gulongRef = TypeReference(type: gulongType)
| |- warning: static property 'gulongRef' 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: add '@MainActor' to make static property 'gulongRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | static let gulongAlias = GIRType("gulong", ctype: "gulong", superType: gulongRef, isAlias: true)
77 | static let gushortType = GIRType("gushort", ctype: cushortType.ctype)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:76:16: warning: static property 'gulongAlias' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
74 | static let gulongType = GIRType("gulong", ctype: culongType.ctype)
75 | static let gulongRef = TypeReference(type: gulongType)
76 | static let gulongAlias = GIRType("gulong", ctype: "gulong", superType: gulongRef, isAlias: true)
| |- warning: static property 'gulongAlias' 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: add '@MainActor' to make static property 'gulongAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | static let gushortType = GIRType("gushort", ctype: cushortType.ctype)
78 | static let gushortRef = TypeReference(type: gshortType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:77:16: warning: static property 'gushortType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
75 | static let gulongRef = TypeReference(type: gulongType)
76 | static let gulongAlias = GIRType("gulong", ctype: "gulong", superType: gulongRef, isAlias: true)
77 | static let gushortType = GIRType("gushort", ctype: cushortType.ctype)
| |- warning: static property 'gushortType' 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: add '@MainActor' to make static property 'gushortType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | static let gushortRef = TypeReference(type: gshortType)
79 | static let gushortAlias = GIRType("gushort", ctype: "gushort", superType: gushortRef, isAlias: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:78:16: warning: static property 'gushortRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
76 | static let gulongAlias = GIRType("gulong", ctype: "gulong", superType: gulongRef, isAlias: true)
77 | static let gushortType = GIRType("gushort", ctype: cushortType.ctype)
78 | static let gushortRef = TypeReference(type: gshortType)
| |- warning: static property 'gushortRef' 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: add '@MainActor' to make static property 'gushortRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | static let gushortAlias = GIRType("gushort", ctype: "gushort", superType: gushortRef, isAlias: true)
80 | static let gint8Type = GIRType("gint8", ctype: "gint8")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:79:16: warning: static property 'gushortAlias' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
77 | static let gushortType = GIRType("gushort", ctype: cushortType.ctype)
78 | static let gushortRef = TypeReference(type: gshortType)
79 | static let gushortAlias = GIRType("gushort", ctype: "gushort", superType: gushortRef, isAlias: true)
| |- warning: static property 'gushortAlias' 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: add '@MainActor' to make static property 'gushortAlias' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | static let gint8Type = GIRType("gint8", ctype: "gint8")
81 | static let gint16Type = GIRType("gint16", ctype: "gint16")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:80:16: warning: static property 'gint8Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
78 | static let gushortRef = TypeReference(type: gshortType)
79 | static let gushortAlias = GIRType("gushort", ctype: "gushort", superType: gushortRef, isAlias: true)
80 | static let gint8Type = GIRType("gint8", ctype: "gint8")
| |- warning: static property 'gint8Type' 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: add '@MainActor' to make static property 'gint8Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | static let gint16Type = GIRType("gint16", ctype: "gint16")
82 | static let gint32Type = GIRType("gint32", ctype: "gint32")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:81:16: warning: static property 'gint16Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
79 | static let gushortAlias = GIRType("gushort", ctype: "gushort", superType: gushortRef, isAlias: true)
80 | static let gint8Type = GIRType("gint8", ctype: "gint8")
81 | static let gint16Type = GIRType("gint16", ctype: "gint16")
| |- warning: static property 'gint16Type' 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: add '@MainActor' to make static property 'gint16Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | static let gint32Type = GIRType("gint32", ctype: "gint32")
83 | static let gint64Type = GIRType("gint64", ctype: "gint64")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:82:16: warning: static property 'gint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
80 | static let gint8Type = GIRType("gint8", ctype: "gint8")
81 | static let gint16Type = GIRType("gint16", ctype: "gint16")
82 | static let gint32Type = GIRType("gint32", ctype: "gint32")
| |- warning: static property 'gint32Type' 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: add '@MainActor' to make static property 'gint32Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | static let gint64Type = GIRType("gint64", ctype: "gint64")
84 | static let guint8Type = GIRType("guint8", ctype: "guint8")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:83:16: warning: static property 'gint64Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
81 | static let gint16Type = GIRType("gint16", ctype: "gint16")
82 | static let gint32Type = GIRType("gint32", ctype: "gint32")
83 | static let gint64Type = GIRType("gint64", ctype: "gint64")
| |- warning: static property 'gint64Type' 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: add '@MainActor' to make static property 'gint64Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | static let guint8Type = GIRType("guint8", ctype: "guint8")
85 | static let guint16Type = GIRType("guint16", ctype: "guint16")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:84:16: warning: static property 'guint8Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
82 | static let gint32Type = GIRType("gint32", ctype: "gint32")
83 | static let gint64Type = GIRType("gint64", ctype: "gint64")
84 | static let guint8Type = GIRType("guint8", ctype: "guint8")
| |- warning: static property 'guint8Type' 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: add '@MainActor' to make static property 'guint8Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | static let guint16Type = GIRType("guint16", ctype: "guint16")
86 | static let guint32Type = GIRType("guint32", ctype: "guint32")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:85:16: warning: static property 'guint16Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
83 | static let gint64Type = GIRType("gint64", ctype: "gint64")
84 | static let guint8Type = GIRType("guint8", ctype: "guint8")
85 | static let guint16Type = GIRType("guint16", ctype: "guint16")
| |- warning: static property 'guint16Type' 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: add '@MainActor' to make static property 'guint16Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let guint32Type = GIRType("guint32", ctype: "guint32")
87 | static let guint64Type = GIRType("guint64", ctype: "guint64")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:86:16: warning: static property 'guint32Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
84 | static let guint8Type = GIRType("guint8", ctype: "guint8")
85 | static let guint16Type = GIRType("guint16", ctype: "guint16")
86 | static let guint32Type = GIRType("guint32", ctype: "guint32")
| |- warning: static property 'guint32Type' 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: add '@MainActor' to make static property 'guint32Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let guint64Type = GIRType("guint64", ctype: "guint64")
88 | static let gsizeType = GIRType("gsize", ctype: "gsize")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:87:16: warning: static property 'guint64Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
85 | static let guint16Type = GIRType("guint16", ctype: "guint16")
86 | static let guint32Type = GIRType("guint32", ctype: "guint32")
87 | static let guint64Type = GIRType("guint64", ctype: "guint64")
| |- warning: static property 'guint64Type' 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: add '@MainActor' to make static property 'guint64Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let gsizeType = GIRType("gsize", ctype: "gsize")
89 | static let goffsetType = GIRType("goffset", ctype: "goffset")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:88:16: warning: static property 'gsizeType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
86 | static let guint32Type = GIRType("guint32", ctype: "guint32")
87 | static let guint64Type = GIRType("guint64", ctype: "guint64")
88 | static let gsizeType = GIRType("gsize", ctype: "gsize")
| |- warning: static property 'gsizeType' 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: add '@MainActor' to make static property 'gsizeType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let goffsetType = GIRType("goffset", ctype: "goffset")
90 | static let gbooleanType = GIRType("gboolean", ctype: "gboolean")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:89:16: warning: static property 'goffsetType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
87 | static let guint64Type = GIRType("guint64", ctype: "guint64")
88 | static let gsizeType = GIRType("gsize", ctype: "gsize")
89 | static let goffsetType = GIRType("goffset", ctype: "goffset")
| |- warning: static property 'goffsetType' 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: add '@MainActor' to make static property 'goffsetType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let gbooleanType = GIRType("gboolean", ctype: "gboolean")
91 | static let glibNumericTypes: Set<GIRType> = [gfloatType, gdoubleType, gcharType, gintType, glongType, gshortType, gucharType, guintType, gulongType, gushortType, gint8Type, gint16Type, gint32Type, gint64Type, guint8Type, guint16Type, guint32Type, guint64Type, gsizeType, gbooleanType]
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:90:16: warning: static property 'gbooleanType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | static let gsizeType = GIRType("gsize", ctype: "gsize")
89 | static let goffsetType = GIRType("goffset", ctype: "goffset")
90 | static let gbooleanType = GIRType("gboolean", ctype: "gboolean")
| |- warning: static property 'gbooleanType' 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: add '@MainActor' to make static property 'gbooleanType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | static let glibNumericTypes: Set<GIRType> = [gfloatType, gdoubleType, gcharType, gintType, glongType, gshortType, gucharType, guintType, gulongType, gushortType, gint8Type, gint16Type, gint32Type, gint64Type, guint8Type, guint16Type, guint32Type, guint64Type, gsizeType, gbooleanType]
92 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:91:16: warning: static property 'glibNumericTypes' 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
89 | static let goffsetType = GIRType("goffset", ctype: "goffset")
90 | static let gbooleanType = GIRType("gboolean", ctype: "gboolean")
91 | static let glibNumericTypes: Set<GIRType> = [gfloatType, gdoubleType, gcharType, gintType, glongType, gshortType, gucharType, guintType, gulongType, gushortType, gint8Type, gint16Type, gint32Type, gint64Type, guint8Type, guint16Type, guint32Type, guint64Type, gsizeType, gbooleanType]
| |- warning: static property 'glibNumericTypes' 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: add '@MainActor' to make static property 'glibNumericTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | static let numericTypes = swiftNumericTypes ∪ cNumericTypes ∪ glibNumericTypes
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:93:16: warning: static property 'numericTypes' 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
91 | static let glibNumericTypes: Set<GIRType> = [gfloatType, gdoubleType, gcharType, gintType, glongType, gshortType, gucharType, guintType, gulongType, gushortType, gint8Type, gint16Type, gint32Type, gint64Type, guint8Type, guint16Type, guint32Type, guint64Type, gsizeType, gbooleanType]
92 |
93 | static let numericTypes = swiftNumericTypes ∪ cNumericTypes ∪ glibNumericTypes
| |- warning: static property 'numericTypes' 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: add '@MainActor' to make static property 'numericTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | static var boolType: GIRType = {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:95:16: warning: static property 'boolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 | static let numericTypes = swiftNumericTypes ∪ cNumericTypes ∪ glibNumericTypes
94 |
95 | static var boolType: GIRType = {
| |- warning: static property 'boolType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'boolType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'boolType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let b = GIRType(Bool, ctype: bool)
97 | let p = "(("
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:109:16: warning: static property 'boolRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
107 | return b
108 | }()
109 | static let boolRef: TypeReference = { TypeReference(type: boolType) }()
| |- warning: static property 'boolRef' 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: add '@MainActor' to make static property 'boolRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | static let charPtr = TypeReference.pointer(to: ccharType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:111:16: warning: static property 'charPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
109 | static let boolRef: TypeReference = { TypeReference(type: boolType) }()
110 |
111 | static let charPtr = TypeReference.pointer(to: ccharType)
| |- warning: static property 'charPtr' 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: add '@MainActor' to make static property 'charPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | static let constCharPtr = TypeReference.pointer(to: ccharType, isConst: true)
113 | static let gcharPtr = TypeReference.pointer(to: gcharType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:112:16: warning: static property 'constCharPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | static let charPtr = TypeReference.pointer(to: ccharType)
112 | static let constCharPtr = TypeReference.pointer(to: ccharType, isConst: true)
| |- warning: static property 'constCharPtr' 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: add '@MainActor' to make static property 'constCharPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | static let gcharPtr = TypeReference.pointer(to: gcharType)
114 | static let constGCharPtr = TypeReference.pointer(to: gcharType, isConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:113:16: warning: static property 'gcharPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
111 | static let charPtr = TypeReference.pointer(to: ccharType)
112 | static let constCharPtr = TypeReference.pointer(to: ccharType, isConst: true)
113 | static let gcharPtr = TypeReference.pointer(to: gcharType)
| |- warning: static property 'gcharPtr' 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: add '@MainActor' to make static property 'gcharPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | static let constGCharPtr = TypeReference.pointer(to: gcharType, isConst: true)
115 | static let gucharPtr = TypeReference.pointer(to: gucharType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:114:16: warning: static property 'constGCharPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
112 | static let constCharPtr = TypeReference.pointer(to: ccharType, isConst: true)
113 | static let gcharPtr = TypeReference.pointer(to: gcharType)
114 | static let constGCharPtr = TypeReference.pointer(to: gcharType, isConst: true)
| |- warning: static property 'constGCharPtr' 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: add '@MainActor' to make static property 'constGCharPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | static let gucharPtr = TypeReference.pointer(to: gucharType)
116 | static let constGUCharPtr = TypeReference.pointer(to: gucharType, isConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:115:16: warning: static property 'gucharPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
113 | static let gcharPtr = TypeReference.pointer(to: gcharType)
114 | static let constGCharPtr = TypeReference.pointer(to: gcharType, isConst: true)
115 | static let gucharPtr = TypeReference.pointer(to: gucharType)
| |- warning: static property 'gucharPtr' 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: add '@MainActor' to make static property 'gucharPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | static let constGUCharPtr = TypeReference.pointer(to: gucharType, isConst: true)
117 | static let stringType = GIRStringType(name: string, ctype: char, superType: charPtr)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:116:16: warning: static property 'constGUCharPtr' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
114 | static let constGCharPtr = TypeReference.pointer(to: gcharType, isConst: true)
115 | static let gucharPtr = TypeReference.pointer(to: gucharType)
116 | static let constGUCharPtr = TypeReference.pointer(to: gucharType, isConst: true)
| |- warning: static property 'constGUCharPtr' 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: add '@MainActor' to make static property 'constGUCharPtr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | static let stringType = GIRStringType(name: string, ctype: char, superType: charPtr)
118 | static let constStringType = GIRStringType(name: string, ctype: char, superType: constCharPtr)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:117:16: warning: static property 'stringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
115 | static let gucharPtr = TypeReference.pointer(to: gucharType)
116 | static let constGUCharPtr = TypeReference.pointer(to: gucharType, isConst: true)
117 | static let stringType = GIRStringType(name: string, ctype: char, superType: charPtr)
| |- warning: static property 'stringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | static let constStringType = GIRStringType(name: string, ctype: char, superType: constCharPtr)
119 | static let gstringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:118:16: warning: static property 'constStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
116 | static let constGUCharPtr = TypeReference.pointer(to: gucharType, isConst: true)
117 | static let stringType = GIRStringType(name: string, ctype: char, superType: charPtr)
118 | static let constStringType = GIRStringType(name: string, ctype: char, superType: constCharPtr)
| |- warning: static property 'constStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constStringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | static let gstringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
120 | static let constGStringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:119:16: warning: static property 'gstringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
117 | static let stringType = GIRStringType(name: string, ctype: char, superType: charPtr)
118 | static let constStringType = GIRStringType(name: string, ctype: char, superType: constCharPtr)
119 | static let gstringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
| |- warning: static property 'gstringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gstringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | static let constGStringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
121 | static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:120:16: warning: static property 'constGStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
118 | static let constStringType = GIRStringType(name: string, ctype: char, superType: constCharPtr)
119 | static let gstringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
120 | static let constGStringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
| |- warning: static property 'constGStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constGStringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 | static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:121:16: warning: static property 'gustringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
119 | static let gstringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
120 | static let constGStringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
121 | static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
| |- warning: static property 'gustringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gustringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 | static let stringRef = TypeReference(type: stringType)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:122:16: warning: static property 'constGUStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
120 | static let constGStringType = GIRStringType(name: string, ctype: gchar, superType: gcharPtr)
121 | static let gustringType = GIRStringType(name: string, ctype: guchar, superType: gucharPtr)
122 | static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
| |- warning: static property 'constGUStringType' is not concurrency-safe because non-'Sendable' type 'GIRStringType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constGUStringType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | static let stringRef = TypeReference(type: stringType)
124 | static let constStringRef = TypeReference(type: constStringType, isConst: true)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:382:20: note: class 'GIRStringType' does not conform to the 'Sendable' protocol
380 | /// Representation of a string type, its relationship to other types,
381 | /// and casting operations
382 | public final class GIRStringType: GIRType {
| `- note: class 'GIRStringType' does not conform to the 'Sendable' protocol
383 | /// Return the default cast to convert the given expression to a string
384 | /// - Parameters:
/Users/admin/builder/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: add '@MainActor' to make static property 'stringRef' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:124:16: warning: static property 'constStringRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
122 | static let constGUStringType = GIRStringType(name: string, ctype: guchar, superType: constGUCharPtr)
123 | static let stringRef = TypeReference(type: stringType)
124 | static let constStringRef = TypeReference(type: constStringType, isConst: true)
| |- warning: static property 'constStringRef' 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: add '@MainActor' to make static property 'constStringRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
126 | static let utf8Ref = TypeReference.pointer(to: utf8Type)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:125:16: warning: static property 'utf8Type' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
123 | static let stringRef = TypeReference(type: stringType)
124 | static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 | static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
| |- warning: static property 'utf8Type' 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: add '@MainActor' to make static property 'utf8Type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | static let utf8Ref = TypeReference.pointer(to: utf8Type)
127 | static let constUTF8Ref = TypeReference.pointer(to: utf8Type, isConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:126:16: warning: static property 'utf8Ref' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
124 | static let constStringRef = TypeReference(type: constStringType, isConst: true)
125 | static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
126 | static let utf8Ref = TypeReference.pointer(to: utf8Type)
| |- warning: static property 'utf8Ref' 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: add '@MainActor' to make static property 'utf8Ref' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | static let constUTF8Ref = TypeReference.pointer(to: utf8Type, isConst: true)
128 | static let fileType = GIRType(filename, ctype: gcharType.ctype)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:127:16: warning: static property 'constUTF8Ref' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
125 | static let utf8Type = GIRType(utf8, ctype: gcharType.ctype)
126 | static let utf8Ref = TypeReference.pointer(to: utf8Type)
127 | static let constUTF8Ref = TypeReference.pointer(to: utf8Type, isConst: true)
| |- warning: static property 'constUTF8Ref' 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: add '@MainActor' to make static property 'constUTF8Ref' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | static let fileType = GIRType(filename, ctype: gcharType.ctype)
129 | static let fileRef = TypeReference.pointer(to: fileType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:128:16: warning: static property 'fileType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
126 | static let utf8Ref = TypeReference.pointer(to: utf8Type)
127 | static let constUTF8Ref = TypeReference.pointer(to: utf8Type, isConst: true)
128 | static let fileType = GIRType(filename, ctype: gcharType.ctype)
| |- warning: static property 'fileType' 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: add '@MainActor' to make static property 'fileType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | static let fileRef = TypeReference.pointer(to: fileType)
130 | static let constFileRef = TypeReference.pointer(to: fileType, isConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:129:16: warning: static property 'fileRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
127 | static let constUTF8Ref = TypeReference.pointer(to: utf8Type, isConst: true)
128 | static let fileType = GIRType(filename, ctype: gcharType.ctype)
129 | static let fileRef = TypeReference.pointer(to: fileType)
| |- warning: static property 'fileRef' 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: add '@MainActor' to make static property 'fileRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | static let constFileRef = TypeReference.pointer(to: fileType, isConst: true)
131 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:130:16: warning: static property 'constFileRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
128 | static let fileType = GIRType(filename, ctype: gcharType.ctype)
129 | static let fileRef = TypeReference.pointer(to: fileType)
130 | static let constFileRef = TypeReference.pointer(to: fileType, isConst: true)
| |- warning: static property 'constFileRef' 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: add '@MainActor' to make static property 'constFileRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | static let stringTypes: Set<GIRType> = {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:132:16: warning: static property 'stringTypes' 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
130 | static let constFileRef = TypeReference.pointer(to: fileType, isConst: true)
131 |
132 | static let stringTypes: Set<GIRType> = {
| |- warning: static property 'stringTypes' 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: add '@MainActor' to make static property 'stringTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | let ts: Set<GIRType> = [stringType, constStringType, gstringType, constGStringType, gustringType, constGUStringType]
134 | let t = stringType
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:148:16: warning: static property 'voidPointer' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
146 | }()
147 |
148 | static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
| |- warning: static property 'voidPointer' 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: add '@MainActor' to make static property 'voidPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 | static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:149:16: warning: static property 'mutableVoidPointer' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
147 |
148 | static let voidPointer = TypeReference.pointer(to: voidType, isConst: true)
149 | static let mutableVoidPointer = TypeReference.pointer(to: voidType)
| |- warning: static property 'mutableVoidPointer' 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: add '@MainActor' to make static property 'mutableVoidPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
151 | static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'rawPointerType' part of global actor 'MainActor'
| `- 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"
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:151:16: warning: static property 'mutableRawPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
149 | static let mutableVoidPointer = TypeReference.pointer(to: voidType)
150 | static let rawPointerType = GIRRawPointerType(aliasOf: voidPointer, name: "UnsafeRawPointer")
151 | static let mutableRawPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: "UnsafeMutableRawPointer")
| |- warning: static property 'mutableRawPointerType' 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: add '@MainActor' to make static property 'mutableRawPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | static let opaquePointer = "OpaquePointer"
153 | static let gpointer = "gpointer"
/Users/admin/builder/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:
/Users/admin/builder/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: add '@MainActor' to make static property 'gpointerType' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:160:16: warning: static property 'gpointerConstPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
158 | static let gconstpointerQ = gconstpointer + "?"
159 | static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
160 | static let gpointerConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gconstpointer)
| |- warning: static property 'gpointerConstPointerType' 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: add '@MainActor' to make static property 'gpointerConstPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
162 | static let opaquePointerType = GIROpaquePointerType(aliasOf: mutableVoidPointer, name: opaquePointer)
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:161:16: warning: static property 'gconstpointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
159 | static let gpointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointer, swiftName: gpointer, ctype: gpointer)
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)
| |- warning: static property 'gconstpointerType' 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: add '@MainActor' to make static property 'gconstpointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | static let opaquePointerType = GIROpaquePointerType(aliasOf: mutableVoidPointer, name: opaquePointer)
163 | static let optionalGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerQ, swiftName: gpointerQ, ctype: gpointerQ)
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:162:16: warning: static property 'opaquePointerType' is not concurrency-safe because non-'Sendable' type 'GIROpaquePointerType' may have shared mutable state; this is an error in the Swift 6 language mode
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)
162 | static let opaquePointerType = GIROpaquePointerType(aliasOf: mutableVoidPointer, name: opaquePointer)
| |- warning: static property 'opaquePointerType' is not concurrency-safe because non-'Sendable' type 'GIROpaquePointerType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opaquePointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | static let optionalGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerQ, swiftName: gpointerQ, ctype: gpointerQ)
164 | static let optionalGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerQ, swiftName: gconstpointerQ, ctype: gconstpointerQ)
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/GirType.swift:496:20: note: class 'GIROpaquePointerType' does not conform to the 'Sendable' protocol
494 | /// Representation of a opaque pointer type, its relationship to other types,
495 | /// and casting operations
496 | public final class GIROpaquePointerType: GIRType {
| `- note: class 'GIROpaquePointerType' does not conform to the 'Sendable' protocol
497 | /// Return the default cast to convert the given expression to an opaque pointer
498 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:163:16: warning: static property 'optionalGPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
161 | static let gconstpointerType = GIRRawPointerType(aliasOf: voidPointer, name: gconstpointer, swiftName: gconstpointer, ctype: gconstpointer)
162 | static let opaquePointerType = GIROpaquePointerType(aliasOf: mutableVoidPointer, name: opaquePointer)
163 | static let optionalGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerQ, swiftName: gpointerQ, ctype: gpointerQ)
| |- warning: static property 'optionalGPointerType' 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: add '@MainActor' to make static property 'optionalGPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | static let optionalGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerQ, swiftName: gconstpointerQ, ctype: gconstpointerQ)
165 | static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:164:16: warning: static property 'optionalGConstPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
162 | static let opaquePointerType = GIROpaquePointerType(aliasOf: mutableVoidPointer, name: opaquePointer)
163 | static let optionalGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerQ, swiftName: gpointerQ, ctype: gpointerQ)
164 | static let optionalGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerQ, swiftName: gconstpointerQ, ctype: gconstpointerQ)
| |- warning: static property 'optionalGConstPointerType' 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: add '@MainActor' to make static property 'optionalGConstPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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)
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:165:16: warning: static property 'forceUnwrappedGPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
163 | static let optionalGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerQ, swiftName: gpointerQ, ctype: gpointerQ)
164 | static let optionalGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerQ, swiftName: gconstpointerQ, ctype: gconstpointerQ)
165 | static let forceUnwrappedGPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gpointerB, swiftName: gpointerB, ctype: gpointerB)
| |- warning: static property 'forceUnwrappedGPointerType' 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: add '@MainActor' to make static property 'forceUnwrappedGPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 | static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
/Users/admin/builder/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:
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:166:16: warning: static property 'forceUnwrappedGConstPointerType' is not concurrency-safe because non-'Sendable' type 'GIRRawPointerType' may have shared mutable state; this is an error in the Swift 6 language mode
164 | static let optionalGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerQ, swiftName: gconstpointerQ, ctype: gconstpointerQ)
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)
| |- warning: static property 'forceUnwrappedGConstPointerType' 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: add '@MainActor' to make static property 'forceUnwrappedGConstPointerType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
168 | static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
/Users/admin/builder/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:
/Users/admin/builder/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: add '@MainActor' to make static property 'rawPointerTypes' part of global actor 'MainActor'
| `- 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]
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:168:16: warning: static property 'constPointerTypes' 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
166 | static let forceUnwrappedGConstPointerType = GIRRawPointerType(aliasOf: mutableVoidPointer, name: gconstpointerB, swiftName: gconstpointerB, ctype: gconstpointerB)
167 | static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
168 | static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
| |- warning: static property 'constPointerTypes' 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: add '@MainActor' to make static property 'constPointerTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
170 | static let pointerTypes = constPointerTypes ∪ mutablePointerTypes ∪ opaquePointerType
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:169:16: warning: static property 'mutablePointerTypes' 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
167 | static let rawPointerTypes: Set<GIRType> = [rawPointerType, mutableRawPointerType]
168 | static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 | static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
| |- warning: static property 'mutablePointerTypes' 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: add '@MainActor' to make static property 'mutablePointerTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | static let pointerTypes = constPointerTypes ∪ mutablePointerTypes ∪ opaquePointerType
171 | static let rawPointerRef = TypeReference(type: rawPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:170:16: warning: static property 'pointerTypes' 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
168 | static let constPointerTypes: Set<GIRType> = [rawPointerType, gconstpointerType, optionalGConstPointerType, forceUnwrappedGConstPointerType]
169 | static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
170 | static let pointerTypes = constPointerTypes ∪ mutablePointerTypes ∪ opaquePointerType
| |- warning: static property 'pointerTypes' 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: add '@MainActor' to make static property 'pointerTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | static let rawPointerRef = TypeReference(type: rawPointerType)
172 | static let mutableRawPointerRef = TypeReference(type: mutableRawPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:171:16: warning: static property 'rawPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
169 | static let mutablePointerTypes: Set<GIRType> = [mutableRawPointerType, gpointerType, optionalGPointerType, forceUnwrappedGPointerType]
170 | static let pointerTypes = constPointerTypes ∪ mutablePointerTypes ∪ opaquePointerType
171 | static let rawPointerRef = TypeReference(type: rawPointerType)
| |- warning: static property 'rawPointerRef' 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: add '@MainActor' to make static property 'rawPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | static let mutableRawPointerRef = TypeReference(type: mutableRawPointerType)
173 | static let gpointerRef = TypeReference(type: gpointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:172:16: warning: static property 'mutableRawPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
170 | static let pointerTypes = constPointerTypes ∪ mutablePointerTypes ∪ opaquePointerType
171 | static let rawPointerRef = TypeReference(type: rawPointerType)
172 | static let mutableRawPointerRef = TypeReference(type: mutableRawPointerType)
| |- warning: static property 'mutableRawPointerRef' 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: add '@MainActor' to make static property 'mutableRawPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | static let gpointerRef = TypeReference(type: gpointerType)
174 | static let gpointerConstPointerRef = TypeReference(type: gpointerConstPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:173:16: warning: static property 'gpointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
171 | static let rawPointerRef = TypeReference(type: rawPointerType)
172 | static let mutableRawPointerRef = TypeReference(type: mutableRawPointerType)
173 | static let gpointerRef = TypeReference(type: gpointerType)
| |- warning: static property 'gpointerRef' 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: add '@MainActor' to make static property 'gpointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | static let gpointerConstPointerRef = TypeReference(type: gpointerConstPointerType)
175 | static let optionalGPointerRef = TypeReference(type: optionalGPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:174:16: warning: static property 'gpointerConstPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
172 | static let mutableRawPointerRef = TypeReference(type: mutableRawPointerType)
173 | static let gpointerRef = TypeReference(type: gpointerType)
174 | static let gpointerConstPointerRef = TypeReference(type: gpointerConstPointerType)
| |- warning: static property 'gpointerConstPointerRef' 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: add '@MainActor' to make static property 'gpointerConstPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | static let optionalGPointerRef = TypeReference(type: optionalGPointerType)
176 | static let forceUnwrappedGPointerRef = TypeReference(type: forceUnwrappedGPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:175:16: warning: static property 'optionalGPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
173 | static let gpointerRef = TypeReference(type: gpointerType)
174 | static let gpointerConstPointerRef = TypeReference(type: gpointerConstPointerType)
175 | static let optionalGPointerRef = TypeReference(type: optionalGPointerType)
| |- warning: static property 'optionalGPointerRef' 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: add '@MainActor' to make static property 'optionalGPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | static let forceUnwrappedGPointerRef = TypeReference(type: forceUnwrappedGPointerType)
177 | static let gconstpointerRef = TypeReference(type: gconstpointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:176:16: warning: static property 'forceUnwrappedGPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
174 | static let gpointerConstPointerRef = TypeReference(type: gpointerConstPointerType)
175 | static let optionalGPointerRef = TypeReference(type: optionalGPointerType)
176 | static let forceUnwrappedGPointerRef = TypeReference(type: forceUnwrappedGPointerType)
| |- warning: static property 'forceUnwrappedGPointerRef' 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: add '@MainActor' to make static property 'forceUnwrappedGPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | static let gconstpointerRef = TypeReference(type: gconstpointerType)
178 | static let optionalGConstPointerRef = TypeReference(type: optionalGConstPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:177:16: warning: static property 'gconstpointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
175 | static let optionalGPointerRef = TypeReference(type: optionalGPointerType)
176 | static let forceUnwrappedGPointerRef = TypeReference(type: forceUnwrappedGPointerType)
177 | static let gconstpointerRef = TypeReference(type: gconstpointerType)
| |- warning: static property 'gconstpointerRef' 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: add '@MainActor' to make static property 'gconstpointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let optionalGConstPointerRef = TypeReference(type: optionalGConstPointerType)
179 | static let forceUnwrappedGConstPointerRef = TypeReference(type: forceUnwrappedGConstPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:178:16: warning: static property 'optionalGConstPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
176 | static let forceUnwrappedGPointerRef = TypeReference(type: forceUnwrappedGPointerType)
177 | static let gconstpointerRef = TypeReference(type: gconstpointerType)
178 | static let optionalGConstPointerRef = TypeReference(type: optionalGConstPointerType)
| |- warning: static property 'optionalGConstPointerRef' 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: add '@MainActor' to make static property 'optionalGConstPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | static let forceUnwrappedGConstPointerRef = TypeReference(type: forceUnwrappedGConstPointerType)
180 | static let gpointerPointerRef = TypeReference.pointer(to: gpointerType, pointerIsConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:179:16: warning: static property 'forceUnwrappedGConstPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let gconstpointerRef = TypeReference(type: gconstpointerType)
178 | static let optionalGConstPointerRef = TypeReference(type: optionalGConstPointerType)
179 | static let forceUnwrappedGConstPointerRef = TypeReference(type: forceUnwrappedGConstPointerType)
| |- warning: static property 'forceUnwrappedGConstPointerRef' 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: add '@MainActor' to make static property 'forceUnwrappedGConstPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | static let gpointerPointerRef = TypeReference.pointer(to: gpointerType, pointerIsConst: true)
181 | static let optionalGPointerPointerRef = TypeReference.pointer(to: optionalGPointerType, pointerIsConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:180:16: warning: static property 'gpointerPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let optionalGConstPointerRef = TypeReference(type: optionalGConstPointerType)
179 | static let forceUnwrappedGConstPointerRef = TypeReference(type: forceUnwrappedGConstPointerType)
180 | static let gpointerPointerRef = TypeReference.pointer(to: gpointerType, pointerIsConst: true)
| |- warning: static property 'gpointerPointerRef' 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: add '@MainActor' to make static property 'gpointerPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | static let optionalGPointerPointerRef = TypeReference.pointer(to: optionalGPointerType, pointerIsConst: true)
182 | static let gpointerMutablePointerRef = TypeReference.pointer(to: gpointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:181:16: warning: static property 'optionalGPointerPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let forceUnwrappedGConstPointerRef = TypeReference(type: forceUnwrappedGConstPointerType)
180 | static let gpointerPointerRef = TypeReference.pointer(to: gpointerType, pointerIsConst: true)
181 | static let optionalGPointerPointerRef = TypeReference.pointer(to: optionalGPointerType, pointerIsConst: true)
| |- warning: static property 'optionalGPointerPointerRef' 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: add '@MainActor' to make static property 'optionalGPointerPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | static let gpointerMutablePointerRef = TypeReference.pointer(to: gpointerType)
183 | static let optionalGPointerMutablePointerRef = TypeReference.pointer(to: optionalGPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:182:16: warning: static property 'gpointerMutablePointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let gpointerPointerRef = TypeReference.pointer(to: gpointerType, pointerIsConst: true)
181 | static let optionalGPointerPointerRef = TypeReference.pointer(to: optionalGPointerType, pointerIsConst: true)
182 | static let gpointerMutablePointerRef = TypeReference.pointer(to: gpointerType)
| |- warning: static property 'gpointerMutablePointerRef' 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: add '@MainActor' to make static property 'gpointerMutablePointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | static let optionalGPointerMutablePointerRef = TypeReference.pointer(to: optionalGPointerType)
184 | static let gconstpointerPointerRef = TypeReference.pointer(to: gconstpointerType, pointerIsConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:183:16: warning: static property 'optionalGPointerMutablePointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
181 | static let optionalGPointerPointerRef = TypeReference.pointer(to: optionalGPointerType, pointerIsConst: true)
182 | static let gpointerMutablePointerRef = TypeReference.pointer(to: gpointerType)
183 | static let optionalGPointerMutablePointerRef = TypeReference.pointer(to: optionalGPointerType)
| |- warning: static property 'optionalGPointerMutablePointerRef' 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: add '@MainActor' to make static property 'optionalGPointerMutablePointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | static let gconstpointerPointerRef = TypeReference.pointer(to: gconstpointerType, pointerIsConst: true)
185 | static let optionalGConstpointerPointerRef = TypeReference.pointer(to: optionalGConstPointerType, pointerIsConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:184:16: warning: static property 'gconstpointerPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
182 | static let gpointerMutablePointerRef = TypeReference.pointer(to: gpointerType)
183 | static let optionalGPointerMutablePointerRef = TypeReference.pointer(to: optionalGPointerType)
184 | static let gconstpointerPointerRef = TypeReference.pointer(to: gconstpointerType, pointerIsConst: true)
| |- warning: static property 'gconstpointerPointerRef' 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: add '@MainActor' to make static property 'gconstpointerPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | static let optionalGConstpointerPointerRef = TypeReference.pointer(to: optionalGConstPointerType, pointerIsConst: true)
186 | static let gconstpointerMutablePointerRef = TypeReference.pointer(to: gconstpointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:185:16: warning: static property 'optionalGConstpointerPointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
183 | static let optionalGPointerMutablePointerRef = TypeReference.pointer(to: optionalGPointerType)
184 | static let gconstpointerPointerRef = TypeReference.pointer(to: gconstpointerType, pointerIsConst: true)
185 | static let optionalGConstpointerPointerRef = TypeReference.pointer(to: optionalGConstPointerType, pointerIsConst: true)
| |- warning: static property 'optionalGConstpointerPointerRef' 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: add '@MainActor' to make static property 'optionalGConstpointerPointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | static let gconstpointerMutablePointerRef = TypeReference.pointer(to: gconstpointerType)
187 | static let optionalGConstpointerMutablePointerRef = TypeReference.pointer(to: optionalGConstPointerType)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:186:16: warning: static property 'gconstpointerMutablePointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
184 | static let gconstpointerPointerRef = TypeReference.pointer(to: gconstpointerType, pointerIsConst: true)
185 | static let optionalGConstpointerPointerRef = TypeReference.pointer(to: optionalGConstPointerType, pointerIsConst: true)
186 | static let gconstpointerMutablePointerRef = TypeReference.pointer(to: gconstpointerType)
| |- warning: static property 'gconstpointerMutablePointerRef' 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: add '@MainActor' to make static property 'gconstpointerMutablePointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let optionalGConstpointerMutablePointerRef = TypeReference.pointer(to: optionalGConstPointerType)
188 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:187:16: warning: static property 'optionalGConstpointerMutablePointerRef' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
185 | static let optionalGConstpointerPointerRef = TypeReference.pointer(to: optionalGConstPointerType, pointerIsConst: true)
186 | static let gconstpointerMutablePointerRef = TypeReference.pointer(to: gconstpointerType)
187 | static let optionalGConstpointerMutablePointerRef = TypeReference.pointer(to: optionalGConstPointerType)
| |- warning: static property 'optionalGConstpointerMutablePointerRef' 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: add '@MainActor' to make static property 'optionalGConstpointerMutablePointerRef' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |
189 | static let glist = "GList"
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'errorProtocol' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:194:16: warning: static property 'errorReference' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let errorT = "GLibError"
193 | static let errorProtocol = GIRType(error, ctype: "")
194 | static let errorReference = TypeReference(type: errorProtocol)
| |- warning: static property 'errorReference' 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: add '@MainActor' to make static property 'errorReference' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
196 | static let errorPointer = TypeReference.pointer(to: gErrorStruct)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:195:16: warning: static property 'gErrorStruct' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
193 | static let errorProtocol = GIRType(error, ctype: "")
194 | static let errorReference = TypeReference(type: errorProtocol)
195 | static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
| |- warning: static property 'gErrorStruct' 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: add '@MainActor' to make static property 'gErrorStruct' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let errorPointer = TypeReference.pointer(to: gErrorStruct)
197 | static let constErrorPointer = TypeReference.pointer(to: gErrorStruct, isConst: true)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:196:16: warning: static property 'errorPointer' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
194 | static let errorReference = TypeReference(type: errorProtocol)
195 | static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
196 | static let errorPointer = TypeReference.pointer(to: gErrorStruct)
| |- warning: static property 'errorPointer' 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: add '@MainActor' to make static property 'errorPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | static let constErrorPointer = TypeReference.pointer(to: gErrorStruct, isConst: true)
198 | static let errorType = GIRType(aliasOf: errorPointer, name: error, swiftName: errorT)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:197:16: warning: static property 'constErrorPointer' is not concurrency-safe because non-'Sendable' type 'TypeReference' may have shared mutable state; this is an error in the Swift 6 language mode
195 | static let gErrorStruct = GIRType(gerror, ctype: gerror, superType: errorReference)
196 | static let errorPointer = TypeReference.pointer(to: gErrorStruct)
197 | static let constErrorPointer = TypeReference.pointer(to: gErrorStruct, isConst: true)
| |- warning: static property 'constErrorPointer' 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: add '@MainActor' to make static property 'constErrorPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | static let errorType = GIRType(aliasOf: errorPointer, name: error, swiftName: errorT)
199 | static let gerrorType = GIRType(aliasOf: errorPointer)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:198:16: warning: static property 'errorType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
196 | static let errorPointer = TypeReference.pointer(to: gErrorStruct)
197 | static let constErrorPointer = TypeReference.pointer(to: gErrorStruct, isConst: true)
198 | static let errorType = GIRType(aliasOf: errorPointer, name: error, swiftName: errorT)
| |- warning: static property 'errorType' 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: add '@MainActor' to make static property 'errorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | static let gerrorType = GIRType(aliasOf: errorPointer)
200 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:199:16: warning: static property 'gerrorType' is not concurrency-safe because non-'Sendable' type 'GIRType' may have shared mutable state; this is an error in the Swift 6 language mode
197 | static let constErrorPointer = TypeReference.pointer(to: gErrorStruct, isConst: true)
198 | static let errorType = GIRType(aliasOf: errorPointer, name: error, swiftName: errorT)
199 | static let gerrorType = GIRType(aliasOf: errorPointer)
| |- warning: static property 'gerrorType' 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: add '@MainActor' to make static property 'gerrorType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | static var errorTypes: Set<GIRType> = {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:201:16: warning: static property 'errorTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
199 | static let gerrorType = GIRType(aliasOf: errorPointer)
200 |
201 | static var errorTypes: Set<GIRType> = {
| |- warning: static property 'errorTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 | let types: Set<GIRType> = [errorType, gerrorType]
203 | return types
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:207:16: warning: static property 'aliases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
205 |
206 | /// Common aliases used
207 | static var aliases: Set<GIRType> = {[
| |- warning: static property 'aliases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'aliases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'aliases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | GIRType(aliasOf: guintType, ctype: "unsigned int"),
209 | GIRType(aliasOf: gulongType, ctype: "unsigned long"),
/Users/admin/builder/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: add '@MainActor' to make static property 'enums' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// Known bitfields
/Users/admin/builder/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: add '@MainActor' to make static property 'bitfields' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | /// Swift `OptionSet` equivalent to the given C `enum`
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:221:16: warning: static property 'optionSets' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
219 |
220 | /// Swift `OptionSet` equivalent to the given C `enum`
221 | static var optionSets: [ GIRType : TypeReference ] = [:]
| |- warning: static property 'optionSets' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optionSets' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'optionSets' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 | /// Known records
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:224:16: warning: static property 'recordTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
222 |
223 | /// Known records
224 | static var recordTypes: Set<GIRType> = []
| |- warning: static property 'recordTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'recordTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// `Ref` conversion for a given record
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:227:16: warning: static property 'recordRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
225 |
226 | /// `Ref` conversion for a given record
227 | static var recordRefs: [ GIRType : TypeReference ] = [:]
| |- warning: static property 'recordRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'recordRefs' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'recordRefs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 | /// Class conversion for a given ref
/Users/admin/builder/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: add '@MainActor' to make static property 'refRecords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |
232 | /// `Protocol` conversion for a given record
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:233:16: warning: static property 'protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | /// `Protocol` conversion for a given record
233 | static var protocols: [ GIRType : TypeReference ] = [:]
| |- warning: static property 'protocols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'protocols' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'protocols' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | /// Interface implementation table
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:236:16: warning: static property 'implements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 |
235 | /// Interface implementation table
236 | static var implements: [ GIRType : Set<TypeReference> ] = [:]
| |- warning: static property 'implements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'implements' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'implements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | /// All fundamental types prior to GIR parsing
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:239:16: warning: static property 'fundamentalTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | /// All fundamental types prior to GIR parsing
239 | static var fundamentalTypes: Set<GIRType> = {
| |- warning: static property 'fundamentalTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fundamentalTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fundamentalTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 | return numericTypes ∪ boolType ∪ voidType ∪ noneType ∪ stringType ∪ aliases ∪ enums ∪ bitfields
241 | }()
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir+KnownTypes.swift:244:16: warning: static property 'numericConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 | /// All numeric conversions
244 | static var numericConversions = { numericTypes.flatMap { s in numericTypes.map { t in
| |- warning: static property 'numericConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'numericConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'numericConversions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | s == t ? TypeConversion(source: s, target: t) : CastConversion(source: s, target: t)
246 | }}}()
/Users/admin/builder/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: add '@MainActor' to make static property 'knownTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | /// Mapping from names to known types
/Users/admin/builder/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: add '@MainActor' to make static property 'namedTypes' part of global actor 'MainActor'
| `- 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) }
/Users/admin/builder/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: add '@MainActor' to make static property 'prefix' part of global actor 'MainActor'
| `- 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 = ""
/Users/admin/builder/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: add '@MainActor' to make static property 'dottedPrefix' part of global actor 'MainActor'
| `- 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>()
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:66:23: warning: static property 'docCHostingBasePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | /// DocC hosting base path relative to `/`.
66 | public static var docCHostingBasePath = ""
| |- warning: static property 'docCHostingBasePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'docCHostingBasePath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'docCHostingBasePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Names of excluded identifiers.
/Users/admin/builder/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: add '@MainActor' to make static property 'excludeList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// names of constants to be taken verbatim
/Users/admin/builder/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: add '@MainActor' to make static property 'verbatimConstants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// names of override initialisers
/Users/admin/builder/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: add '@MainActor' to make static property 'overrides' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// known types indexed by C identifier.
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:78:23: warning: static property 'knownCIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | /// known types indexed by C identifier.
78 | public static var knownCIdentifiers: [ String : Datatype ] = [:]
| |- warning: static property 'knownCIdentifiers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'knownCIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'knownCIdentifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | /// context of known types
80 | public static var knownDataTypes: [ String : Datatype ] = [:]
/Users/admin/builder/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: add '@MainActor' to make static property 'knownDataTypes' part of global actor 'MainActor'
| `- 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 ] = [:]
/Users/admin/builder/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: add '@MainActor' to make static property 'knownRecords' part of global actor 'MainActor'
| `- 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 ] = [:]
/Users/admin/builder/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: add '@MainActor' to make static property 'knownBitfields' part of global actor 'MainActor'
| `- 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 ] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:86:23: warning: static property 'KnownFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
84 | public static var knownBitfields: [ String : Bitfield ] = [:]
85 | /// context of known functions
86 | public static var KnownFunctions: [ String : Function ] = [:]
| |- warning: static property 'KnownFunctions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'KnownFunctions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'KnownFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | /// suffixes for `@escaping` callback heuristics
88 | public static var callbackSuffixes = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:88:23: warning: static property 'callbackSuffixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | public static var KnownFunctions: [ String : Function ] = [:]
87 | /// suffixes for `@escaping` callback heuristics
88 | public static var callbackSuffixes = [String]()
| |- warning: static property 'callbackSuffixes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'callbackSuffixes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'callbackSuffixes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | /// types to turn into force-unwrapped optionals
90 | public static var forceUnwrapped: Set<String> = ["gpointer", "gconstpointer"]
/Users/admin/builder/spi-builder-workspace/Sources/libgir2swift/models/Gir.swift:90:23: warning: static property 'forceUnwrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public static var callbackSuffixes = [String]()
89 | /// types to turn into force-unwrapped optionals
90 | public static var forceUnwrapped: Set<String> = ["gpointer", "gconstpointer"]
| |- warning: static property 'forceUnwrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forceUnwrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'forceUnwrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// Dotted namespace replacements
/Users/admin/builder/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: add '@MainActor' to make static property 'namespaceReplacements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | "GObject." : "GLibObject.", "Gio." : "GIO.", "GdkPixbuf." : "GdkPixBuf.", "cairo." : "Cairo."
95 | ]
/Users/admin/builder/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: add '@MainActor' to make static property 'typedCollections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | "GLib.List", "GLib.SList", "GLib.PtrArray"
100 | ]
/Users/admin/builder/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: add '@MainActor' to make static property 'glibPointerWrapper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | /// designated constructor
/Users/admin/builder/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: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | /// Designated initialiser for a type reference
/Users/admin/builder/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: add '@MainActor' to make static property 'stdErr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Abstraction for stdErr
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultCodeIndentation' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultCodeIndentation' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultCodeIndentation' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultCodeIndentation' part of global actor 'MainActor'
| `- 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.
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultCodeIndentation' part of global actor 'MainActor'
| `- 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.
[258/267] Compiling gir2swift main.swift
[259/267] Emitting module gir2swift
[259/267] Write Objects.LinkFileList
[261/267] Compiling gir2swift main.swift
[262/267] Emitting module gir2swift
[262/267] Write Objects.LinkFileList
[263/267] Linking gir2swift
[264/267] Linking gir2swift-tool
[265/267] Applying gir2swift
[266/267] Applying gir2swift-tool
Build complete! (17.75s)
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" : "/Users/admin/builder/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"
}
Done.