Build Information
Failed to build SwiftGodot, reference v0.75.0 (48112d), with Swift 6.1 for Android on 22 Feb 2026 04:49:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
15 | @available(macOS 13.0, iOS 16.0, *)
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
| |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
| |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
| |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:89:19: warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
87 | }
88 | }
89 | for ed in jsonApi.globalEnums {
| `- warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
90 | for ev in ed.values {
91 | if ev.name == txt {
/host/spi-builder-workspace/Generator/Generator/main.swift:105:5: note: let declared here
103 |
104 | let jsonData = try! Data(url: URL(fileURLWithPath: jsonFile))
105 | let jsonApi = try! JSONDecoder().decode(JGodotExtensionAPI.self, from: jsonData)
| `- note: let declared here
106 |
107 | func dropMatchingPrefix(_ enumName: String, _ enumKey: String) -> String {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:107:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
105 | let (type, name) = splitAtLastDot(str: txt)
106 | if type != "" {
107 | if let ldef = classMap [type] {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
108 | if let r = lookInDef(def: ldef, match: name, local: false) {
109 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:111:34: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
109 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
110 | }
111 | } else if let ldef = builtinMap[type] {
| `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
112 | if let r = lookInDef(def: ldef, match: name, local: false) {
113 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:192:5: note: var declared here
190 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
191 |
192 | var builtinMap: [String: JGodotBuiltinClass] = [:]
| `- note: var declared here
193 |
194 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:169:24: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
147 | }
148 |
149 | func convertMethod (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 | if txt.starts(with: "@") {
151 | // TODO, examples:
:
167 | var args = ""
168 | if let type {
169 | if let m = classMap [type] {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
170 | if let method = findMethod (name: member, on: m) {
171 | args = assembleArgs (method, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:173:31: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
147 | }
148 |
149 | func convertMethod (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 | if txt.starts(with: "@") {
151 | // TODO, examples:
:
171 | args = assembleArgs (method, method.arguments)
172 | }
173 | } else if let m = builtinMap [type] {
| `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
174 | if let method = findMethod (name: member, on: m) {
175 | args = assembleArgs(nil, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:192:5: note: var declared here
190 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
191 |
192 | var builtinMap: [String: JGodotBuiltinClass] = [:]
| `- note: var declared here
193 |
194 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/Enums.swift:15:5: error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
11 | /// Stores enum definitions so other generator stages (like default-value mapping)
12 | /// can resolve `enum::Type.Value` even when we skip emitting the corresponding type.
13 | func registerEnumDefinition(_ enumDef: JGodotGlobalEnumElement, prefix: String?) {
| `- note: add '@MainActor' to make global function 'registerEnumDefinition(_:prefix:)' part of global actor 'MainActor'
14 | guard let prefix else { return }
15 | globalEnums[prefix + enumDef.name] = enumDef
| `- error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
16 | }
17 |
/host/spi-builder-workspace/Generator/Generator/main.swift:127:5: note: mutation of this var is only permitted within the actor
125 | }
126 |
127 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
| `- note: mutation of this var is only permitted within the actor
128 |
129 | // Maps from a the class name to its definition
/host/spi-builder-workspace/Generator/Generator/Enums.swift:37:22: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
24 |
25 | // The name of the form 'bitfield::'
26 | func findEnumDef (name: String) -> JGodotGlobalEnumElement? {
| `- note: add '@MainActor' to make global function 'findEnumDef(name:)' part of global actor 'MainActor'
27 | guard name.starts(with: "bitfield::") else {
28 | return nil
:
35 | }
36 | let type = full [full.startIndex..<split]
37 | guard let cdef = classMap [String (type)] else {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
38 | print ("Could not find class \(type) for \(name)")
39 | return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
[213/226] Compiling Generator Enums.swift
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:12:5: warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 13.0, iOS 16.0, *)
12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
| |- warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxConstantParam' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | @available(macOS 13.0, iOS 16.0, *)
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:14:5: warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
13 | @available(macOS 13.0, iOS 16.0, *)
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
| |- warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxEnumMethodMember' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | @available(macOS 13.0, iOS 16.0, *)
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
15 | @available(macOS 13.0, iOS 16.0, *)
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
| |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
| |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
| |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:89:19: warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
87 | }
88 | }
89 | for ed in jsonApi.globalEnums {
| `- warning: main actor-isolated let 'jsonApi' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
90 | for ev in ed.values {
91 | if ev.name == txt {
/host/spi-builder-workspace/Generator/Generator/main.swift:105:5: note: let declared here
103 |
104 | let jsonData = try! Data(url: URL(fileURLWithPath: jsonFile))
105 | let jsonApi = try! JSONDecoder().decode(JGodotExtensionAPI.self, from: jsonData)
| `- note: let declared here
106 |
107 | func dropMatchingPrefix(_ enumName: String, _ enumKey: String) -> String {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:107:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
105 | let (type, name) = splitAtLastDot(str: txt)
106 | if type != "" {
107 | if let ldef = classMap [type] {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
108 | if let r = lookInDef(def: ldef, match: name, local: false) {
109 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:111:34: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
46 | // }
47 |
48 | func lookupConstant (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'lookupConstant' part of global actor 'MainActor'
49 | func lookInDef (def: JClassInfo, match: String, local: Bool) -> String? {
50 | // TODO: for builtins, we wont have a cdef
:
109 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
110 | }
111 | } else if let ldef = builtinMap[type] {
| `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
112 | if let r = lookInDef(def: ldef, match: name, local: false) {
113 | return "``\(getGodotType(SimpleType (type: type)) + "/" + r)``"
/host/spi-builder-workspace/Generator/Generator/main.swift:192:5: note: var declared here
190 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
191 |
192 | var builtinMap: [String: JGodotBuiltinClass] = [:]
| `- note: var declared here
193 |
194 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:169:24: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
147 | }
148 |
149 | func convertMethod (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 | if txt.starts(with: "@") {
151 | // TODO, examples:
:
167 | var args = ""
168 | if let type {
169 | if let m = classMap [type] {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
170 | if let method = findMethod (name: member, on: m) {
171 | args = assembleArgs (method, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:173:31: error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
147 | }
148 |
149 | func convertMethod (_ txt: String.SubSequence) -> String {
| `- note: add '@MainActor' to make local function 'convertMethod' part of global actor 'MainActor'
150 | if txt.starts(with: "@") {
151 | // TODO, examples:
:
171 | args = assembleArgs (method, method.arguments)
172 | }
173 | } else if let m = builtinMap [type] {
| `- error: main actor-isolated var 'builtinMap' can not be referenced from a nonisolated context
174 | if let method = findMethod (name: member, on: m) {
175 | args = assembleArgs(nil, method.arguments)
/host/spi-builder-workspace/Generator/Generator/main.swift:192:5: note: var declared here
190 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
191 |
192 | var builtinMap: [String: JGodotBuiltinClass] = [:]
| `- note: var declared here
193 |
194 | for x in jsonApi.builtinClasses {
/host/spi-builder-workspace/Generator/Generator/Enums.swift:15:5: error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
11 | /// Stores enum definitions so other generator stages (like default-value mapping)
12 | /// can resolve `enum::Type.Value` even when we skip emitting the corresponding type.
13 | func registerEnumDefinition(_ enumDef: JGodotGlobalEnumElement, prefix: String?) {
| `- note: add '@MainActor' to make global function 'registerEnumDefinition(_:prefix:)' part of global actor 'MainActor'
14 | guard let prefix else { return }
15 | globalEnums[prefix + enumDef.name] = enumDef
| `- error: main actor-isolated var 'globalEnums' can not be mutated from a nonisolated context
16 | }
17 |
/host/spi-builder-workspace/Generator/Generator/main.swift:127:5: note: mutation of this var is only permitted within the actor
125 | }
126 |
127 | var globalEnums: [String: JGodotGlobalEnumElement] = [:]
| `- note: mutation of this var is only permitted within the actor
128 |
129 | // Maps from a the class name to its definition
/host/spi-builder-workspace/Generator/Generator/Enums.swift:37:22: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
24 |
25 | // The name of the form 'bitfield::'
26 | func findEnumDef (name: String) -> JGodotGlobalEnumElement? {
| `- note: add '@MainActor' to make global function 'findEnumDef(name:)' part of global actor 'MainActor'
27 | guard name.starts(with: "bitfield::") else {
28 | return nil
:
35 | }
36 | let type = full [full.startIndex..<split]
37 | guard let cdef = classMap [String (type)] else {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
38 | print ("Could not find class \(type) for \(name)")
39 | return nil
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
[214/226] Emitting module Generator
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
599 | case isClass
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
| |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | var builtinClassStorage: [String:String] = [:]
603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
602 | var builtinClassStorage: [String:String] = [:]
| |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 |
604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:485:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
483 | var skipList = Set<String>()
484 | #else
485 | var okList = Set<String>()
| |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | var skipList = Set<String>()
487 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:486:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
484 | #else
485 | var okList = Set<String>()
486 | var skipList = Set<String>()
| |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
487 | #endif
488 |
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:12:5: warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 13.0, iOS 16.0, *)
12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
| |- warning: let 'rxConstantParam' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxConstantParam' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | @available(macOS 13.0, iOS 16.0, *)
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:14:5: warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | let rxConstantParam: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(constant|param) ([\\w\\._@]+)\\]")
13 | @available(macOS 13.0, iOS 16.0, *)
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
| |- warning: let 'rxEnumMethodMember' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxEnumMethodMember' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | @available(macOS 13.0, iOS 16.0, *)
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:16:5: warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | let rxEnumMethodMember: Regex<(Substring,Substring,Substring)> = try! Regex ("\\[(enum|method|member) ([\\w\\.@_/]+)\\]")
15 | @available(macOS 13.0, iOS 16.0, *)
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
| |- warning: let 'rxTypeName' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxTypeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:18:5: warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let rxTypeName: Regex<(Substring, Substring)> = try! Regex ("\\[([A-Z]\\w+)\\]")
17 | @available(macOS 13.0, iOS 16.0, *)
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
| |- warning: let 'rxEmptyLeading' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxEmptyLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/DocModel.swift:20:5: warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | let rxEmptyLeading: Regex<Substring> = try! Regex ("\\s+")
19 | @available(macOS 13.0, iOS 16.0, *)
20 | let rxUrl: Regex<(Substring,Substring)> = try! Regex ("\\[url=(.*?)\\]")
| |- warning: let 'rxUrl' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rxUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // If the string contains a ".", it will return a pair
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:10:5: warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
| |- warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var classFilterProvided = false
12 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:11:5: warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
11 | var classFilterProvided = false
| |- warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:14:5: warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
| |- warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | var availableClassFilterProvided = false
16 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:15:5: warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
15 | var availableClassFilterProvided = false
| |- warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:18:5: warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
| |- warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var builtinFilterProvided = false
20 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:19:5: warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
19 | var builtinFilterProvided = false
| |- warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:23:5: warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
22 | /// Instead, raw helper methods returning `GodotNativeObjectPointer?` will be generated.
23 | var deferredReturnTypes: Set<String> = []
| |- warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredReturnTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredReturnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:26:5: warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
26 | var deferredExtensionTypes: Set<String> = []
| |- warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:30:5: warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
29 | /// for the deferred return types. Extensions will only be generated for classes in this set.
30 | var deferredExtensionSourceClasses: Set<String> = []
| |- warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionSourceClasses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionSourceClasses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:33:5: warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
33 | var additionalPreamble: String = ""
| |- warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'additionalPreamble' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'additionalPreamble' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:36:5: warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
36 | var classesSelectedForGeneration: [String] = []
| |- warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesSelectedForGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesSelectedForGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Utility that trims whitespace and removes the `.swift` suffix when present.
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:105:5: warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | var core_types = [
| |- warning: var 'core_types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'core_types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'core_types' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | "String",
107 | "Vector2",
/host/spi-builder-workspace/Generator/Generator/TypeHelpers.swift:250:5: warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
248 | }
249 |
250 | var mapStringToSwift = true
| |- warning: var 'mapStringToSwift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mapStringToSwift' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'mapStringToSwift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Given a type definition with its metadata, and the context where the type is being
[215/226] Compiling Generator main.swift
/host/spi-builder-workspace/Generator/Generator/main.swift:190:41: error: main actor-isolated var 'structTypes' can not be referenced from a nonisolated context
174 | }
175 |
176 | private var structTypes: Set<String> = [
| `- note: var declared here
177 | "const void*",
178 | "AudioFrame*",
:
188 | /// - parameter type: A type name as found in `extension_api.json`.
189 | /// - returns: True if the type is represented in Swift as simple `struct` with fields (or as a built-in Swift type), not wrapping a handle (pointer) to a native Godot object.
190 | func isStruct(_ type: String) -> Bool { structTypes.contains(type) }
| | `- error: main actor-isolated var 'structTypes' can not be referenced from a nonisolated context
| `- note: add '@MainActor' to make global function 'isStruct' part of global actor 'MainActor'
191 |
192 | var builtinMap: [String: JGodotBuiltinClass] = [:]
/host/spi-builder-workspace/Generator/Generator/main.swift:240:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
238 | struct Generator {
239 | func run() async throws {
240 | let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
| `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
241 | generateUnsafePointerHelpers(coreDefPrinter)
242 | generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class Printer {
| `- note: class 'Printer' does not conform to the 'Sendable' protocol
11 | let name: String
12 | // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/main.swift:242:58: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
240 | let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
241 | generateUnsafePointerHelpers(coreDefPrinter)
242 | generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
243 | await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
244 | await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
1 | import ExtensionApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
2 | // main.swift
3 | // SwiftGodot/Generator
/host/spi-builder-workspace/Generator/Generator/main.swift:243:46: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
241 | generateUnsafePointerHelpers(coreDefPrinter)
242 | generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
243 | await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
244 | await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
245 | await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:244:39: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
242 | generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
243 | await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
244 | await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
245 | await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
246 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:245:39: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
243 | await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
244 | await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
245 | await generateClasses(values: jsonApi.classes, outputDir: generatedDir)
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
246 |
247 | generateVariantGodotInterface(coreDefPrinter)
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:248:58: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
246 |
247 | generateVariantGodotInterface(coreDefPrinter)
248 | generateNativeStructures(coreDefPrinter, values: jsonApi.nativeStructures)
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
249 |
250 | if let generatedBuiltinDir {
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/main.swift:242:9: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
240 | let coreDefPrinter = await PrinterFactory.shared.initPrinter("core-defs", withPreamble: true)
241 | generateUnsafePointerHelpers(coreDefPrinter)
242 | generateEnums(coreDefPrinter, cdef: nil, values: jsonApi.globalEnums, prefix: "")
| | `- note: property access is 'async'
| `- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
243 | await generateBuiltinClasses(values: jsonApi.builtinClasses, outputDir: generatedBuiltinDir)
244 | await generateUtility(values: jsonApi.utilityFunctions, outputDir: generatedBuiltinDir)
/host/spi-builder-workspace/Generator/Generator/main.swift:248:9: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
246 |
247 | generateVariantGodotInterface(coreDefPrinter)
248 | generateNativeStructures(coreDefPrinter, values: jsonApi.nativeStructures)
| | `- note: property access is 'async'
| `- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
249 |
250 | if let generatedBuiltinDir {
/host/spi-builder-workspace/Generator/Generator/main.swift:254:12: error: expression is 'async' but is not marked with 'await'
252 | }
253 |
254 | if combineOutput {
| |- error: expression is 'async' but is not marked with 'await'
| `- note: property access is 'async'
255 | await PrinterFactory.shared.saveMultiplexed(outputDir)
256 | }
[216/226] Compiling Generator ClassGen.swift
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:485:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
483 | var skipList = Set<String>()
484 | #else
485 | var okList = Set<String>()
| |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | var skipList = Set<String>()
487 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:486:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
484 | #else
485 | var okList = Set<String>()
486 | var skipList = Set<String>()
| |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
487 | #endif
488 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:30:12: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
9 | import ExtensionApi
10 |
11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
| `- note: add '@MainActor' to make global function 'makeDefaultInit(godotType:initCollection:)' part of global actor 'MainActor'
12 | switch godotType {
13 | case "Variant":
:
28 | let nestedTypeName = String (t.dropFirst(12))
29 | let simple = SimpleType(type: nestedTypeName)
30 | if classMap [nestedTypeName] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
31 | return "TypedArray<\(getGodotType (simple))?>(\(initCollection))"
32 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:84:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
69 | }
70 |
71 | func generateVirtualProxy (_ p: Printer,
| `- note: add '@MainActor' to make global function 'generateVirtualProxy(_:cdef:methodName:method:)' part of global actor 'MainActor'
72 | cdef: JGodotExtensionAPIClass,
73 | methodName: String,
:
82 | if let ret = method.returnValue {
83 | let godotReturnType = ret.type
84 | let godotReturnTypeIsReferenceType = classMap [godotReturnType] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
85 | returnOptional = godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: methodName)
86 |
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:113:23: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
111 | if arg.type == "String" {
112 | argCall += "GString.stringFromGStringPtr (ptr: args [\(i)]!) ?? \"\""
113 | } else if classMap [arg.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
114 | //
115 | // This idiom guarantees that: if this is a known object, we surface this
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:180:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
178 | derefField = "array.content"
179 | derefType = "type (of: ret.array.content)"
180 | } else if classMap [ret.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
181 | derefField = "handle"
182 | derefType = " GodotNativeObjectPointer?.self"
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:192:30: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
190 | target = "array.content"
191 | } else {
192 | target = classMap [ret.type] != nil ? "handle" : "content"
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
193 | }
194 | if classMap [ret.type] != nil && isRefCountedType(ret.type) {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:194:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
192 | target = classMap [ret.type] != nil ? "handle" : "content"
193 | }
194 | if classMap [ret.type] != nil && isRefCountedType(ret.type) {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
195 | p("gi.ref_set_object(retPtr, ret\(returnOptional ? "?" : "").handle)")
196 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:350:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
339 | p ("\n/* Properties */\n")
340 |
341 | func findMethod (forProperty: JGodotProperty, startAt: JGodotExtensionAPIClass, name: String, resolvedName: inout String, argName: inout String) -> JGodotClassMethod? {
| `- note: add '@MainActor' to make local function 'findMethod(forProperty:startAt:name:resolvedName:argName:)' part of global actor 'MainActor'
342 | if let here = methods.first(where: { $0.name == name}) {
343 | return here
:
348 | return nil
349 | }
350 | cdef = classMap [parentName]
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
351 | guard let cdef else {
352 | print ("Warning: Missing type \(parentName)")
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:432:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
330 | }
331 | }
332 | func generateProperties (_ p: Printer,
| `- note: add '@MainActor' to make global function 'generateProperties(_:cdef:_:_:_:asSingleton:)' part of global actor 'MainActor'
333 | cdef: JGodotExtensionAPIClass,
334 | _ properties: [JGodotProperty],
:
430 | }
431 | let godotReturnType = method.returnValue?.type
432 | let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
433 |
434 | let propertyOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: property.getter)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:586:23: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
584 |
585 | // Determine if it is a singleton, but exclude EditorInterface
586 | let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
587 | let asSingleton = isSingleton && cdef.name != "EditorInterface"
588 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
7 |
8 | import Foundation
9 | import ExtensionApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
10 |
11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:590:41: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
588 |
589 | // Clear the result
590 | let p = await PrinterFactory.shared.initPrinter(cdef.name, withPreamble: true)
| `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
591 |
592 | // Save it
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class Printer {
| `- note: class 'Printer' does not conform to the 'Sendable' protocol
11 | let name: String
12 | // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:586:23: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
584 |
585 | // Determine if it is a singleton, but exclude EditorInterface
586 | let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
| |- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
| `- note: property access is 'async'
587 | let asSingleton = isSingleton && cdef.name != "EditorInterface"
588 |
[217/226] Compiling Generator Data.swift
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:485:5: warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
483 | var skipList = Set<String>()
484 | #else
485 | var okList = Set<String>()
| |- warning: var 'okList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'okList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'okList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 | var skipList = Set<String>()
487 | #endif
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:486:5: warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
484 | #else
485 | var okList = Set<String>()
486 | var skipList = Set<String>()
| |- warning: var 'skipList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipList' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'skipList' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
487 | #endif
488 |
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:30:12: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
9 | import ExtensionApi
10 |
11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
| `- note: add '@MainActor' to make global function 'makeDefaultInit(godotType:initCollection:)' part of global actor 'MainActor'
12 | switch godotType {
13 | case "Variant":
:
28 | let nestedTypeName = String (t.dropFirst(12))
29 | let simple = SimpleType(type: nestedTypeName)
30 | if classMap [nestedTypeName] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
31 | return "TypedArray<\(getGodotType (simple))?>(\(initCollection))"
32 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:84:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
69 | }
70 |
71 | func generateVirtualProxy (_ p: Printer,
| `- note: add '@MainActor' to make global function 'generateVirtualProxy(_:cdef:methodName:method:)' part of global actor 'MainActor'
72 | cdef: JGodotExtensionAPIClass,
73 | methodName: String,
:
82 | if let ret = method.returnValue {
83 | let godotReturnType = ret.type
84 | let godotReturnTypeIsReferenceType = classMap [godotReturnType] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
85 | returnOptional = godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: methodName)
86 |
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:113:23: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
111 | if arg.type == "String" {
112 | argCall += "GString.stringFromGStringPtr (ptr: args [\(i)]!) ?? \"\""
113 | } else if classMap [arg.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
114 | //
115 | // This idiom guarantees that: if this is a known object, we surface this
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:180:27: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
178 | derefField = "array.content"
179 | derefType = "type (of: ret.array.content)"
180 | } else if classMap [ret.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
181 | derefField = "handle"
182 | derefType = " GodotNativeObjectPointer?.self"
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:192:30: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
190 | target = "array.content"
191 | } else {
192 | target = classMap [ret.type] != nil ? "handle" : "content"
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
193 | }
194 | if classMap [ret.type] != nil && isRefCountedType(ret.type) {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:194:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
192 | target = classMap [ret.type] != nil ? "handle" : "content"
193 | }
194 | if classMap [ret.type] != nil && isRefCountedType(ret.type) {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
195 | p("gi.ref_set_object(retPtr, ret\(returnOptional ? "?" : "").handle)")
196 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:350:20: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
339 | p ("\n/* Properties */\n")
340 |
341 | func findMethod (forProperty: JGodotProperty, startAt: JGodotExtensionAPIClass, name: String, resolvedName: inout String, argName: inout String) -> JGodotClassMethod? {
| `- note: add '@MainActor' to make local function 'findMethod(forProperty:startAt:name:resolvedName:argName:)' part of global actor 'MainActor'
342 | if let here = methods.first(where: { $0.name == name}) {
343 | return here
:
348 | return nil
349 | }
350 | cdef = classMap [parentName]
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
351 | guard let cdef else {
352 | print ("Warning: Missing type \(parentName)")
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:432:46: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
330 | }
331 | }
332 | func generateProperties (_ p: Printer,
| `- note: add '@MainActor' to make global function 'generateProperties(_:cdef:_:_:_:asSingleton:)' part of global actor 'MainActor'
333 | cdef: JGodotExtensionAPIClass,
334 | _ properties: [JGodotProperty],
:
430 | }
431 | let godotReturnType = method.returnValue?.type
432 | let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
433 |
434 | let propertyOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: cdef.name, method: property.getter)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:586:23: warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
584 |
585 | // Determine if it is a singleton, but exclude EditorInterface
586 | let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
| `- warning: non-sendable type 'JGodotExtensionAPI' of let 'jsonApi' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
587 | let asSingleton = isSingleton && cdef.name != "EditorInterface"
588 |
/host/spi-builder-workspace/Sources/ExtensionApi/ApiJsonModel.swift:9:15: note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: - JGodotExtensionAPI
9 | public struct JGodotExtensionAPI: Codable {
| `- note: struct 'JGodotExtensionAPI' does not conform to the 'Sendable' protocol
10 | public let header: JGodotHeader
11 | public let builtinClassSizes: [JGodotBuiltinClassSize]
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
7 |
8 | import Foundation
9 | import ExtensionApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ExtensionApi'
10 |
11 | func makeDefaultInit (godotType: String, initCollection: String = "") -> String {
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:590:41: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
588 |
589 | // Clear the result
590 | let p = await PrinterFactory.shared.initPrinter(cdef.name, withPreamble: true)
| `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
591 |
592 | // Save it
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class Printer {
| `- note: class 'Printer' does not conform to the 'Sendable' protocol
11 | let name: String
12 | // Where we accumulate our output for the p/b routines
/host/spi-builder-workspace/Generator/Generator/ClassGen.swift:586:23: warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
584 |
585 | // Determine if it is a singleton, but exclude EditorInterface
586 | let isSingleton = jsonApi.singletons.contains (where: { $0.name == cdef.name })
| |- warning: expression is 'async' but is not marked with 'await'; this is an error in the Swift 6 language mode
| `- note: property access is 'async'
587 | let asSingleton = isSingleton && cdef.name != "EditorInterface"
588 |
[218/226] Compiling Generator NativeStructures.swift
[219/226] Compiling Generator Printer.swift
[220/226] Compiling Generator GenerationSettings.swift
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:10:5: warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
| |- warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var classFilterProvided = false
12 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:11:5: warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
11 | var classFilterProvided = false
| |- warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:14:5: warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
| |- warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | var availableClassFilterProvided = false
16 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:15:5: warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
15 | var availableClassFilterProvided = false
| |- warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:18:5: warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
| |- warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var builtinFilterProvided = false
20 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:19:5: warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
19 | var builtinFilterProvided = false
| |- warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:23:5: warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
22 | /// Instead, raw helper methods returning `GodotNativeObjectPointer?` will be generated.
23 | var deferredReturnTypes: Set<String> = []
| |- warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredReturnTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredReturnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:26:5: warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
26 | var deferredExtensionTypes: Set<String> = []
| |- warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:30:5: warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
29 | /// for the deferred return types. Extensions will only be generated for classes in this set.
30 | var deferredExtensionSourceClasses: Set<String> = []
| |- warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionSourceClasses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionSourceClasses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:33:5: warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
33 | var additionalPreamble: String = ""
| |- warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'additionalPreamble' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'additionalPreamble' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:36:5: warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
36 | var classesSelectedForGeneration: [String] = []
| |- warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesSelectedForGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesSelectedForGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Utility that trims whitespace and removes the `.swift` suffix when present.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:79:26: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
65 |
66 | /// Finds the closest ancestor that is part of the whitelist, falling back to `Object`.
67 | func fallbackClassName(for original: String) -> String {
| `- note: add '@MainActor' to make global function 'fallbackClassName(for:)' part of global actor 'MainActor'
68 | guard classFilterProvided else {
69 | return original
:
77 | print("Looking for \(original) but did not exist in \(args)")
78 | var currentName = original
79 | while let inherits = classMap[currentName]?.inherits {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
80 | if availableClassNames.contains(inherits) {
81 | return inherits
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:216:28: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
214 | translation = .direct
215 | } else {
216 | if builtinSizes[src.type] != nil && src.type != "Object" {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
217 | translation = .contentRef
218 | } else if classMap[src.type] != nil {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:218:35: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
216 | if builtinSizes[src.type] != nil && src.type != "Object" {
217 | translation = .contentRef
218 | } else if classMap[src.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
219 | if options.contains(.nonOptionalObjects) {
220 | translation = .objectRef(isOptional: false)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:573:42: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
465 | /// - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
466 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
467 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
| `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
468 |
469 | let arguments = method.arguments ?? []
:
571 | var signatureArgs: [String] = []
572 | let godotReturnType = method.returnValue?.type
573 | let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
574 | let returnOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: className, method: method.name)
575 | let returnType = getGodotType(method.returnValue) + (returnOptional ? "?" : "")
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:645:27: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
621 | }
622 |
623 | func getCallResultArgument() -> String {
| `- note: add '@MainActor' to make local function 'getCallResultArgument()' part of global actor 'MainActor'
624 | let ptrResult: String
625 | if returnType != "" {
:
643 | } else if frameworkType {
644 | ptrResult = "&_result"
645 | } else if builtinSizes [godotReturnType] != nil {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
646 | ptrResult = "&_result.content"
647 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:713:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
465 | /// - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
466 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
467 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
| `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
468 |
469 | let arguments = method.arguments ?? []
:
711 | isOptional = true
712 | } else {
713 | if classMap [arg.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
714 | isOptional = isMethodArgumentOptional(className: className, method: method.name, arg: arg.name)
715 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
[221/226] Compiling Generator MethodGen.swift
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:10:5: warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
| |- warning: var 'classesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | var classFilterProvided = false
12 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:11:5: warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// Names of classes (without the `.swift` suffix) that should be generated in this run.
10 | var classesToGenerate: Set<String> = []
11 | var classFilterProvided = false
| |- warning: var 'classFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:14:5: warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
| |- warning: var 'availableClassNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | var availableClassFilterProvided = false
16 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:15:5: warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// Names of classes available to be referenced when generating code, including dependencies.
14 | var availableClassNames: Set<String> = []
15 | var availableClassFilterProvided = false
| |- warning: var 'availableClassFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'availableClassFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'availableClassFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:18:5: warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
| |- warning: var 'builtinClassesToGenerate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassesToGenerate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassesToGenerate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var builtinFilterProvided = false
20 |
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:19:5: warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | /// Names of builtin types (without the `.swift` suffix) that should be generated in this run.
18 | var builtinClassesToGenerate: Set<String> = []
19 | var builtinFilterProvided = false
| |- warning: var 'builtinFilterProvided' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinFilterProvided' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinFilterProvided' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:23:5: warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | /// Godot reference types whose Swift wrappers should not be surfaced in this module.
22 | /// Instead, raw helper methods returning `GodotNativeObjectPointer?` will be generated.
23 | var deferredReturnTypes: Set<String> = []
| |- warning: var 'deferredReturnTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredReturnTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredReturnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:26:5: warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Godot reference types that require high-level Swift extensions to be emitted in this module.
26 | var deferredExtensionTypes: Set<String> = []
| |- warning: var 'deferredExtensionTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:30:5: warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// Godot classes (without the `.swift` suffix) that are expected to contain raw helper methods
29 | /// for the deferred return types. Extensions will only be generated for classes in this set.
30 | var deferredExtensionSourceClasses: Set<String> = []
| |- warning: var 'deferredExtensionSourceClasses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredExtensionSourceClasses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'deferredExtensionSourceClasses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:33:5: warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Optional lines to inject after the standard generated file preamble.
33 | var additionalPreamble: String = ""
| |- warning: var 'additionalPreamble' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'additionalPreamble' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'additionalPreamble' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:36:5: warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Keeps track of the classes we actually surface (after filtering).
36 | var classesSelectedForGeneration: [String] = []
| |- warning: var 'classesSelectedForGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'classesSelectedForGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'classesSelectedForGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Utility that trims whitespace and removes the `.swift` suffix when present.
/host/spi-builder-workspace/Generator/Generator/GenerationSettings.swift:79:26: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
65 |
66 | /// Finds the closest ancestor that is part of the whitelist, falling back to `Object`.
67 | func fallbackClassName(for original: String) -> String {
| `- note: add '@MainActor' to make global function 'fallbackClassName(for:)' part of global actor 'MainActor'
68 | guard classFilterProvided else {
69 | return original
:
77 | print("Looking for \(original) but did not exist in \(args)")
78 | var currentName = original
79 | while let inherits = classMap[currentName]?.inherits {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
80 | if availableClassNames.contains(inherits) {
81 | return inherits
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:216:28: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
214 | translation = .direct
215 | } else {
216 | if builtinSizes[src.type] != nil && src.type != "Object" {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
217 | translation = .contentRef
218 | } else if classMap[src.type] != nil {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:218:35: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
216 | if builtinSizes[src.type] != nil && src.type != "Object" {
217 | translation = .contentRef
218 | } else if classMap[src.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
219 | if options.contains(.nonOptionalObjects) {
220 | translation = .objectRef(isOptional: false)
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:573:42: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
465 | /// - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
466 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
467 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
| `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
468 |
469 | let arguments = method.arguments ?? []
:
571 | var signatureArgs: [String] = []
572 | let godotReturnType = method.returnValue?.type
573 | let godotReturnTypeIsReferenceType = classMap [godotReturnType ?? ""] != nil
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
574 | let returnOptional = godotReturnType == "Variant" || godotReturnTypeIsReferenceType && isReturnOptional(className: className, method: method.name)
575 | let returnType = getGodotType(method.returnValue) + (returnOptional ? "?" : "")
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:645:27: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
621 | }
622 |
623 | func getCallResultArgument() -> String {
| `- note: add '@MainActor' to make local function 'getCallResultArgument()' part of global actor 'MainActor'
624 | let ptrResult: String
625 | if returnType != "" {
:
643 | } else if frameworkType {
644 | ptrResult = "&_result"
645 | } else if builtinSizes [godotReturnType] != nil {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
646 | ptrResult = "&_result.content"
647 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/MethodGen.swift:713:16: error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
465 | /// - usedMethods: a set of methods that have been referenced by properties, to determine whether we make this public or private
466 | /// - Returns: nil, or the method we surfaced that needs to have the virtual supporting infrastructured wired up
467 | func generateMethod(_ p: Printer, method: MethodDefinition, className: String, cdef: JClassInfo?, usedMethods: Set<String>, generatedMethodKind: GeneratedMethodKind, asSingleton: Bool) throws -> String? {
| `- note: add '@MainActor' to make global function 'generateMethod(_:method:className:cdef:usedMethods:generatedMethodKind:asSingleton:)' part of global actor 'MainActor'
468 |
469 | let arguments = method.arguments ?? []
:
711 | isOptional = true
712 | } else {
713 | if classMap [arg.type] != nil {
| `- error: main actor-isolated var 'classMap' can not be referenced from a nonisolated context
714 | isOptional = isMethodArgumentOptional(className: className, method: method.name, arg: arg.name)
715 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:130:5: note: var declared here
128 |
129 | // Maps from a the class name to its definition
130 | var classMap: [String: JGodotExtensionAPIClass] = [:]
| `- note: var declared here
131 |
132 | // Tracks whether a Godot type has subclasses, we want to use this
[222/226] Compiling Generator Arguments.swift
/host/spi-builder-workspace/Generator/Generator/Arguments.swift:201:16: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
189 | }
190 |
191 | func getArgRef (arg: JGodotArgument) -> String {
| `- note: add '@MainActor' to make global function 'getArgRef(arg:)' part of global actor 'MainActor'
192 | var argref: String
193 | var optstorage: String
:
199 | optstorage = ".content"
200 | } else {
201 | if builtinSizes [arg.type] != nil && arg.type != "Object" {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
202 | optstorage = ".content"
203 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
599 | case isClass
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
| |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | var builtinClassStorage: [String:String] = [:]
603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
602 | var builtinClassStorage: [String:String] = [:]
| |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 |
604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:864:59: error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
862 | storedMembers = bc.members
863 | } else {
864 | if kind == .isStruct, let memberOffsets = builtinMemberOffsets [bc.name] {
| `- error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
865 | storedMembers = memberOffsets.compactMap({ m in
866 | return bc.members?.first(where: { $0.name == m.member })
/host/spi-builder-workspace/Generator/Generator/main.swift:210:5: note: var declared here
208 | }
209 | }
210 | var builtinMemberOffsets: [String: [JGodotMember]] = [:]
| `- note: var declared here
211 | for mo in jsonApi.builtinClassMemberOffsets {
212 | if mo.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:1192:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1190 | default:
1191 | // printer for class itself
1192 | let p: Printer = await PrinterFactory.shared.initPrinter(bc.name, withPreamble: true)
| `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1193 |
1194 | mapStringToSwift = bc.name != "String"
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class Printer {
| `- note: class 'Printer' does not conform to the 'Sendable' protocol
11 | let name: String
12 | // Where we accumulate our output for the p/b routines
[223/226] Compiling Generator BuiltinGen.swift
/host/spi-builder-workspace/Generator/Generator/Arguments.swift:201:16: error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
189 | }
190 |
191 | func getArgRef (arg: JGodotArgument) -> String {
| `- note: add '@MainActor' to make global function 'getArgRef(arg:)' part of global actor 'MainActor'
192 | var argref: String
193 | var optstorage: String
:
199 | optstorage = ".content"
200 | } else {
201 | if builtinSizes [arg.type] != nil && arg.type != "Object" {
| `- error: main actor-isolated var 'builtinSizes' can not be referenced from a nonisolated context
202 | optstorage = ".content"
203 | } else {
/host/spi-builder-workspace/Generator/Generator/main.swift:202:5: note: var declared here
200 |
201 | let buildConfiguration: String = "float_64"
202 | var builtinSizes: [String: Int] = [:]
| `- note: var declared here
203 | for cs in jsonApi.builtinClassSizes {
204 | if cs.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:601:5: warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
599 | case isClass
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
| |- warning: var 'builtinGodotTypeNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinGodotTypeNames' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinGodotTypeNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | var builtinClassStorage: [String:String] = [:]
603 |
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:602:5: warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 | }
601 | var builtinGodotTypeNames: [String:BKind] = ["Variant": .isClass]
602 | var builtinClassStorage: [String:String] = [:]
| |- warning: var 'builtinClassStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'builtinClassStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'builtinClassStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 |
604 | func generateBuiltinClasses (values: [JGodotBuiltinClass], outputDir: String?) async {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:864:59: error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
862 | storedMembers = bc.members
863 | } else {
864 | if kind == .isStruct, let memberOffsets = builtinMemberOffsets [bc.name] {
| `- error: main actor-isolated var 'builtinMemberOffsets' can not be referenced from a nonisolated context
865 | storedMembers = memberOffsets.compactMap({ m in
866 | return bc.members?.first(where: { $0.name == m.member })
/host/spi-builder-workspace/Generator/Generator/main.swift:210:5: note: var declared here
208 | }
209 | }
210 | var builtinMemberOffsets: [String: [JGodotMember]] = [:]
| `- note: var declared here
211 | for mo in jsonApi.builtinClassMemberOffsets {
212 | if mo.buildConfiguration == buildConfiguration {
/host/spi-builder-workspace/Generator/Generator/BuiltinGen.swift:1192:58: warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1190 | default:
1191 | // printer for class itself
1192 | let p: Printer = await PrinterFactory.shared.initPrinter(bc.name, withPreamble: true)
| `- warning: non-sendable result type 'Printer' cannot be sent from actor-isolated context in call to instance method 'initPrinter(_:withPreamble:)'; this is an error in the Swift 6 language mode
1193 |
1194 | mapStringToSwift = bc.name != "String"
/host/spi-builder-workspace/Generator/Generator/Printer.swift:10:7: note: class 'Printer' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class Printer {
| `- note: class 'Printer' does not conform to the 'Sendable' protocol
11 | let name: String
12 | // Where we accumulate our output for the p/b routines
[226/240] Write sources
[229/240] Write swift-version-24593BA9C3E375BF.txt
[231/237] Compiling ArgumentParserToolInfo ToolInfo.swift
[232/237] Emitting module ArgumentParserToolInfo
[233/238] Wrapping AST for ArgumentParserToolInfo for debugging
[235/284] Emitting module ArgumentParser
[236/290] Compiling ArgumentParser Foundation.swift
[237/290] Compiling ArgumentParser Mutex.swift
[238/290] Compiling ArgumentParser Platform.swift
[239/290] Compiling ArgumentParser SequenceExtensions.swift
[240/290] Compiling ArgumentParser StringExtensions.swift
[241/290] Compiling ArgumentParser SwiftExtensions.swift
[242/290] Compiling ArgumentParser Tree.swift
[243/290] Compiling ArgumentParser CodingKeyValidator.swift
[244/290] Compiling ArgumentParser NonsenseFlagsValidator.swift
[245/290] Compiling ArgumentParser ParsableArgumentsValidation.swift
[246/290] Compiling ArgumentParser PositionalArgumentsValidator.swift
[247/290] Compiling ArgumentParser UniqueNamesValidator.swift
[248/290] Compiling ArgumentParser InputOrigin.swift
[249/290] Compiling ArgumentParser Name.swift
[250/290] Compiling ArgumentParser Parsed.swift
[251/290] Compiling ArgumentParser ParsedValues.swift
[252/290] Compiling ArgumentParser ParserError.swift
[253/290] Compiling ArgumentParser SplitArguments.swift
[254/290] Compiling ArgumentParser DumpHelpGenerator.swift
[255/290] Compiling ArgumentParser HelpCommand.swift
[256/290] Compiling ArgumentParser HelpGenerator.swift
[257/290] Compiling ArgumentParser MessageInfo.swift
[258/290] Compiling ArgumentParser UsageGenerator.swift
[259/290] Compiling ArgumentParser CollectionExtensions.swift
[260/290] Compiling ArgumentParser BashCompletionsGenerator.swift
[261/290] Compiling ArgumentParser CompletionsGenerator.swift
[262/290] Compiling ArgumentParser FishCompletionsGenerator.swift
[263/290] Compiling ArgumentParser ZshCompletionsGenerator.swift
[264/290] Compiling ArgumentParser Argument.swift
[265/290] Compiling ArgumentParser ArgumentDiscussion.swift
[266/290] Compiling ArgumentParser ArgumentHelp.swift
[267/290] Compiling ArgumentParser ArgumentVisibility.swift
[268/290] Compiling ArgumentParser CompletionKind.swift
[269/290] Compiling ArgumentParser Errors.swift
[270/290] Compiling ArgumentParser Flag.swift
[271/290] Compiling ArgumentParser NameSpecification.swift
[272/290] Compiling ArgumentParser Option.swift
[273/290] Compiling ArgumentParser OptionGroup.swift
[274/290] Compiling ArgumentParser ParentCommand.swift
[275/290] Compiling ArgumentParser AsyncParsableCommand.swift
[276/290] Compiling ArgumentParser CommandConfiguration.swift
[277/290] Compiling ArgumentParser CommandGroup.swift
[278/290] Compiling ArgumentParser EnumerableFlag.swift
[279/290] Compiling ArgumentParser ExpressibleByArgument.swift
[280/290] Compiling ArgumentParser ParsableArguments.swift
[281/290] Compiling ArgumentParser ParsableCommand.swift
[282/290] Compiling ArgumentParser ArgumentDecoder.swift
[283/290] Compiling ArgumentParser ArgumentDefinition.swift
[284/290] Compiling ArgumentParser ArgumentSet.swift
[285/290] Compiling ArgumentParser CommandParser.swift
[286/290] Compiling ArgumentParser InputKey.swift
[287/291] Wrapping AST for ArgumentParser for debugging
[289/294] Emitting module EntryPointGenerator
[290/294] Compiling EntryPointGenerator GodotMacroSearchingVisitor.swift
[291/294] Compiling EntryPointGenerator EntryPointGenerator.swift
/host/spi-builder-workspace/Sources/EntryPointGenerator/EntryPointGenerator.swift:25:23: error: type of expression is ambiguous without a type annotation
23 |
24 | mutating func run() throws {
25 | let visitor = GodotMacroSearchingVisitor(viewMode: .all, logger: verbose ? logVerbose : nil)
| `- error: type of expression is ambiguous without a type annotation
26 |
27 | logVerbose("Scanning source files...")
/host/spi-builder-workspace/Sources/EntryPointGenerator/EntryPointGenerator.swift:52:70: error: cannot infer contextual base in reference to member 'utf8'
50 | logVerbose("Writing \(count) to '\(outputFile)'...")
51 | let outputURL = URL(fileURLWithPath: outputFile)
52 | try source.write(to: outputURL, atomically: true, encoding: .utf8)
| `- error: cannot infer contextual base in reference to member 'utf8'
53 | log("Generated swift_entry_point, registering \(count) classes, in \(outputURL.lastPathComponent).")
54 | }
[1/1] Compiling plugin EntryPointGeneratorPlugin
[2/2] Compiling plugin CodeGeneratorPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
error: couldn't build /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime/generated-builtin/AABB.swift because of missing inputs: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator
error: couldn't build /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime/generated-builtin/AABB.swift because of missing inputs: /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator
[6/130] Write sources
[8/130] Compiling _SwiftSyntaxCShims dummy.c
[8/130] Compiling GDExtension GDExtensionSupport.c
[8/130] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Found unhandled resource at /host/spi-builder-workspace/Tests/SwiftGodotMacrosTests/Resources
[0/14] Write swift-version-24593BA9C3E375BF.txt
[2/23] Emitting module SwiftSyntax600
[3/23] Compiling SwiftSyntax600 Empty.swift
[4/24] Emitting module SwiftSyntax510
[5/24] Compiling SwiftSyntax510 Empty.swift
[6/25] Emitting module SwiftSyntax509
[7/25] Compiling SwiftSyntax509 Empty.swift
[11/87] Compiling ExtensionApi ApiJsonModel+Extra.swift
[12/87] Emitting module ExtensionApi
[13/87] Compiling ExtensionApi ApiJsonModel.swift
[15/87] Emitting module SwiftSyntax
[16/95] Compiling SwiftSyntax RawSyntaxNodesD.swift
[17/95] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[18/95] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[19/95] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[20/95] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[21/95] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[22/95] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[23/95] Compiling SwiftSyntax RawSyntaxValidation.swift
[24/95] Compiling SwiftSyntax SyntaxNodesAB.swift
[25/95] Compiling SwiftSyntax SyntaxKind.swift
[26/95] Compiling SwiftSyntax SyntaxRewriter.swift
[27/95] Compiling SwiftSyntax SyntaxTraits.swift
[28/95] Compiling SwiftSyntax SyntaxVisitor.swift
[29/95] Compiling SwiftSyntax TokenKind.swift
[30/95] Compiling SwiftSyntax Tokens.swift
[31/95] Compiling SwiftSyntax TriviaPieces.swift
[32/95] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[33/95] Compiling SwiftSyntax RawSyntaxNodesC.swift
[34/95] Compiling SwiftSyntax MemoryLayout.swift
[35/95] Compiling SwiftSyntax MissingNodeInitializers.swift
[36/95] Compiling SwiftSyntax RawSyntax.swift
[37/95] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[38/95] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[39/95] Compiling SwiftSyntax RawSyntaxTokenView.swift
[40/95] Compiling SwiftSyntax SourceEdit.swift
[41/95] Compiling SwiftSyntax SourceLength.swift
[42/95] Compiling SwiftSyntax SourceLocation.swift
[43/95] Compiling SwiftSyntax SourcePresence.swift
[44/95] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[45/95] Compiling SwiftSyntax Syntax.swift
[46/95] Compiling SwiftSyntax SyntaxArena.swift
[47/95] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[48/95] Compiling SwiftSyntax SyntaxChildren.swift
[49/95] Compiling SwiftSyntax SyntaxCollection.swift
[50/95] Compiling SwiftSyntax SyntaxHashable.swift
[51/95] Compiling SwiftSyntax SyntaxIdentifier.swift
[52/95] Compiling SwiftSyntax SyntaxNodeFactory.swift
[53/95] Compiling SwiftSyntax SyntaxNodeStructure.swift
[54/95] Compiling SwiftSyntax SyntaxProtocol.swift
[55/95] Compiling SwiftSyntax SyntaxText.swift
[56/95] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[57/95] Compiling SwiftSyntax TokenDiagnostic.swift
[58/95] Compiling SwiftSyntax TokenSequence.swift
[59/95] Compiling SwiftSyntax TokenSyntax.swift
[60/95] Compiling SwiftSyntax Trivia.swift
[61/95] Compiling SwiftSyntax Utils.swift
[62/95] Compiling SwiftSyntax ChildNameForKeyPath.swift
[63/95] Compiling SwiftSyntax Keyword.swift
[64/95] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[65/95] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[66/95] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[67/95] Compiling SwiftSyntax SyntaxBaseNodes.swift
[68/95] Compiling SwiftSyntax SyntaxCollections.swift
[69/95] Compiling SwiftSyntax SyntaxEnum.swift
[70/95] Compiling SwiftSyntax AbsolutePosition.swift
[71/95] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[72/95] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[73/95] Compiling SwiftSyntax Assert.swift
[74/95] Compiling SwiftSyntax BumpPtrAllocator.swift
[75/95] Compiling SwiftSyntax CommonAncestor.swift
[76/95] Compiling SwiftSyntax Convenience.swift
[77/95] Compiling SwiftSyntax CustomTraits.swift
[78/95] Compiling SwiftSyntax Identifier.swift
[79/95] Compiling SwiftSyntax SyntaxNodesC.swift
[80/95] Compiling SwiftSyntax SyntaxNodesD.swift
[81/95] Compiling SwiftSyntax SyntaxNodesEF.swift
[82/95] Compiling SwiftSyntax SyntaxNodesGHI.swift
[83/95] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[84/95] Compiling SwiftSyntax SyntaxNodesOP.swift
[85/95] Compiling SwiftSyntax SyntaxNodesQRS.swift
[86/95] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[88/133] Compiling SwiftDiagnostics Message.swift
[89/153] Emitting module SwiftDiagnostics
[90/153] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[91/153] Compiling SwiftParser Expressions.swift
[92/153] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[93/153] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[94/153] Compiling SwiftDiagnostics Note.swift
[95/153] Compiling SwiftBasicFormat Syntax+Extensions.swift
[96/153] Compiling SwiftDiagnostics FixIt.swift
[97/153] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[98/153] Compiling SwiftBasicFormat InferIndentation.swift
[99/153] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[100/153] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[101/153] Compiling SwiftParser IncrementalParseTransition.swift
[102/153] Compiling SwiftParser IsValidIdentifier.swift
[104/153] Compiling SwiftBasicFormat BasicFormat.swift
[105/153] Emitting module SwiftBasicFormat
[107/153] Emitting module SwiftParser
[108/158] Compiling SwiftParser TokenSpec.swift
[109/158] Compiling SwiftParser TokenSpecSet.swift
[110/158] Compiling SwiftParser TopLevel.swift
[111/158] Compiling SwiftParser TriviaParser.swift
[112/158] Compiling SwiftParser Types.swift
[113/158] Compiling SwiftParser SwiftParserCompatibility.swift
[114/158] Compiling SwiftParser SwiftVersion.swift
[115/158] Compiling SwiftParser SyntaxUtils.swift
[116/158] Compiling SwiftParser TokenConsumer.swift
[117/158] Compiling SwiftParser TokenPrecedence.swift
[118/158] Compiling SwiftParser LexemeSequence.swift
[119/158] Compiling SwiftParser Lexer.swift
[120/158] Compiling SwiftParser RegexLiteralLexer.swift
[121/158] Compiling SwiftParser UnicodeScalarExtensions.swift
[122/158] Compiling SwiftParser Lookahead.swift
[123/158] Compiling SwiftParser LoopProgressCondition.swift
[124/158] Compiling SwiftParser Modifiers.swift
[125/158] Compiling SwiftParser Names.swift
[126/158] Compiling SwiftParser Nominals.swift
[127/158] Compiling SwiftParser Parameters.swift
[128/158] Compiling SwiftParser ParseSourceFile.swift
[129/158] Compiling SwiftParser Parser.swift
[130/158] Compiling SwiftParser Patterns.swift
[131/158] Compiling SwiftParser Recovery.swift
[132/158] Compiling SwiftParser Specifiers.swift
[133/158] Compiling SwiftParser Statements.swift
[134/158] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[135/158] Compiling SwiftParser StringLiterals.swift
[136/158] Compiling SwiftParser Attributes.swift
[137/158] Compiling SwiftParser Availability.swift
[138/158] Compiling SwiftParser CharacterInfo.swift
[139/158] Compiling SwiftParser CollectionNodes+Parsable.swift
[140/158] Compiling SwiftParser Declarations.swift
[141/158] Compiling SwiftParser Directives.swift
[146/158] Compiling SwiftParser Cursor.swift
[147/158] Compiling SwiftParser Lexeme.swift
[148/158] Compiling SwiftParser ExperimentalFeatures.swift
[149/158] Compiling SwiftParser IsLexerClassified.swift
[150/158] Compiling SwiftParser LayoutNodes+Parsable.swift
[151/158] Compiling SwiftParser Parser+TokenSpecSet.swift
[152/158] Compiling SwiftParser TokenSpecStaticMembers.swift
[154/171] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[155/172] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[156/172] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[157/172] Compiling SwiftParserDiagnostics Utils.swift
[158/172] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[159/172] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[160/172] Compiling SwiftParserDiagnostics PresenceUtils.swift
[161/172] Compiling SwiftParserDiagnostics MissingNodesError.swift
[162/172] Compiling SwiftParserDiagnostics MissingTokenError.swift
[163/172] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[164/172] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[165/172] Emitting module SwiftParserDiagnostics
[166/172] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[167/172] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[169/187] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[170/187] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[171/188] Compiling SwiftSyntaxBuilder Indenter.swift
[172/188] Compiling SwiftSyntaxBuilder ListBuilder.swift
[173/188] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[174/188] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[175/188] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[176/188] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[177/188] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[178/188] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[179/188] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[180/188] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[181/188] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[182/188] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[183/188] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[184/188] Emitting module SwiftSyntaxBuilder
[186/203] Compiling Generator UnsafePointerHelpers.swift
[187/203] Compiling Generator UtilityGen.swift
[188/204] Emitting module Generator
[189/204] Compiling Generator StringOperations.swift
[190/204] Compiling Generator TypeHelpers.swift
[191/204] Compiling Generator NativeStructures.swift
[192/204] Compiling Generator Printer.swift
[193/204] Compiling Generator GenerationSettings.swift
[194/204] Compiling Generator MethodGen.swift
[195/204] Compiling Generator DocModel.swift
[196/204] Compiling Generator Enums.swift
[197/204] Compiling Generator main.swift
[198/204] Compiling Generator ClassGen.swift
[199/204] Compiling Generator Data.swift
[200/204] Compiling Generator Arguments.swift
[201/204] Compiling Generator BuiltinGen.swift
[202/205] Wrapping AST for Generator for debugging
[203/205] Write Objects.LinkFileList
[204/205] Linking Generator-tool
[205/216] Write swift-version-24593BA9C3E375BF.txt
[207/213] Compiling ArgumentParserToolInfo ToolInfo.swift
[208/213] Emitting module ArgumentParserToolInfo
[210/259] Compiling ArgumentParser Foundation.swift
[211/259] Compiling ArgumentParser Mutex.swift
[212/259] Compiling ArgumentParser Platform.swift
[213/259] Compiling ArgumentParser SequenceExtensions.swift
[214/259] Compiling ArgumentParser StringExtensions.swift
[215/259] Compiling ArgumentParser SwiftExtensions.swift
[216/265] Compiling ArgumentParser ParentCommand.swift
[217/265] Compiling ArgumentParser AsyncParsableCommand.swift
[218/265] Compiling ArgumentParser CommandConfiguration.swift
[219/265] Compiling ArgumentParser CommandGroup.swift
[220/265] Compiling ArgumentParser EnumerableFlag.swift
[221/265] Compiling ArgumentParser ExpressibleByArgument.swift
[222/265] Compiling ArgumentParser ParsableArguments.swift
[223/265] Compiling ArgumentParser Tree.swift
[224/265] Compiling ArgumentParser CodingKeyValidator.swift
[225/265] Compiling ArgumentParser NonsenseFlagsValidator.swift
[226/265] Compiling ArgumentParser ParsableArgumentsValidation.swift
[227/265] Compiling ArgumentParser PositionalArgumentsValidator.swift
[228/265] Compiling ArgumentParser UniqueNamesValidator.swift
[229/265] Compiling ArgumentParser InputOrigin.swift
[230/265] Compiling ArgumentParser Name.swift
[231/265] Compiling ArgumentParser Parsed.swift
[232/265] Compiling ArgumentParser ParsedValues.swift
[233/265] Compiling ArgumentParser ParserError.swift
[234/265] Compiling ArgumentParser SplitArguments.swift
[235/265] Compiling ArgumentParser ArgumentVisibility.swift
[236/265] Compiling ArgumentParser CompletionKind.swift
[237/265] Compiling ArgumentParser Errors.swift
[238/265] Compiling ArgumentParser Flag.swift
[239/265] Compiling ArgumentParser NameSpecification.swift
[240/265] Compiling ArgumentParser Option.swift
[241/265] Compiling ArgumentParser OptionGroup.swift
[242/265] Emitting module ArgumentParser
[243/265] Compiling ArgumentParser BashCompletionsGenerator.swift
[244/265] Compiling ArgumentParser CompletionsGenerator.swift
[245/265] Compiling ArgumentParser FishCompletionsGenerator.swift
[246/265] Compiling ArgumentParser ZshCompletionsGenerator.swift
[247/265] Compiling ArgumentParser Argument.swift
[248/265] Compiling ArgumentParser ArgumentDiscussion.swift
[249/265] Compiling ArgumentParser ArgumentHelp.swift
[250/265] Compiling ArgumentParser DumpHelpGenerator.swift
[251/265] Compiling ArgumentParser HelpCommand.swift
[252/265] Compiling ArgumentParser HelpGenerator.swift
[253/265] Compiling ArgumentParser MessageInfo.swift
[254/265] Compiling ArgumentParser UsageGenerator.swift
[255/265] Compiling ArgumentParser CollectionExtensions.swift
[256/265] Compiling ArgumentParser ParsableCommand.swift
[257/265] Compiling ArgumentParser ArgumentDecoder.swift
[258/265] Compiling ArgumentParser ArgumentDefinition.swift
[259/265] Compiling ArgumentParser ArgumentSet.swift
[260/265] Compiling ArgumentParser CommandParser.swift
[261/265] Compiling ArgumentParser InputKey.swift
[263/268] Compiling EntryPointGenerator GodotMacroSearchingVisitor.swift
[264/268] Compiling EntryPointGenerator EntryPointGenerator.swift
[265/268] Emitting module EntryPointGenerator
[266/269] Wrapping AST for EntryPointGenerator for debugging
[267/269] Write Objects.LinkFileList
[268/269] Linking EntryPointGenerator-tool
[0/1] Planning build
[1/1] Compiling plugin EntryPointGeneratorPlugin
[2/2] Compiling plugin CodeGeneratorPlugin
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/128] Write sources
[45/128] Copying extension_api.json
[47/128] Compiling GDExtension GDExtensionSupport.c
[48/128] Compiling _SwiftSyntaxCShims dummy.c
[49/128] Compiling GDExtension GDExtensionSupport.c
[50/128] Compiling _SwiftSyntaxCShims dummy.c
[51/128] Write swift-version-24593BA9C3E375BF.txt
[53/141] Emitting module SwiftSyntax510
[54/141] Emitting module SwiftSyntax509
[55/143] Emitting module SwiftSyntax600
[58/144] Emitting module ArgumentParserToolInfo
[62/152] Emitting module ExtensionApiJson
[63/152] Compiling ExtensionApiJson resource_bundle_accessor.swift
[64/152] Compiling ExtensionApiJson ExtensionApiJson.swift
[66/154] Emitting module ExtensionApi
[68/160] Emitting module ArgumentParserToolInfo
[69/160] Emitting module SwiftSyntax509
[70/160] Compiling SwiftSyntax509 Empty.swift
[71/161] Compiling SwiftSyntax600 Empty.swift
[73/162] Wrapping AST for SwiftSyntax600 for debugging
[75/162] Emitting module SwiftSyntax510
[76/162] Compiling SwiftSyntax510 Empty.swift
[76/164] Wrapping AST for SwiftSyntax510 for debugging
[78/164] Wrapping AST for SwiftSyntax509 for debugging
[80/164] Compiling ArgumentParserToolInfo ToolInfo.swift
[80/165] Wrapping AST for ExtensionApi for debugging
[82/229] Wrapping AST for ArgumentParserToolInfo for debugging
[83/272] Wrapping AST for SwiftSyntax600 for debugging
[85/275] Emitting module SwiftGodotTestRunner
[86/275] Emitting module ArgumentParser
[87/276] Emitting module ExtensionApiJson
[87/276] Wrapping AST for SwiftSyntax510 for debugging
[89/276] Wrapping AST for SwiftSyntax509 for debugging
[90/276] Wrapping AST for ArgumentParserToolInfo for debugging
[91/276] Wrapping AST for ArgumentParser for debugging
[93/276] Emitting module ExtensionApi
[94/276] Emitting module ArgumentParser
[95/282] Compiling ArgumentParser Tree.swift
[96/282] Compiling ArgumentParser CodingKeyValidator.swift
[97/282] Compiling ArgumentParser NonsenseFlagsValidator.swift
[98/282] Compiling ArgumentParser ParsableArgumentsValidation.swift
[99/282] Compiling ArgumentParser PositionalArgumentsValidator.swift
[100/282] Compiling ArgumentParser UniqueNamesValidator.swift
[101/282] Compiling ArgumentParser ArgumentVisibility.swift
[102/282] Compiling ArgumentParser CompletionKind.swift
[103/282] Compiling ArgumentParser Errors.swift
[104/282] Compiling ArgumentParser Flag.swift
[105/282] Compiling ArgumentParser NameSpecification.swift
[106/282] Compiling ArgumentParser Option.swift
[107/282] Compiling ArgumentParser OptionGroup.swift
[108/282] Compiling ArgumentParser ParsableCommand.swift
[109/282] Compiling ArgumentParser ArgumentDecoder.swift
[110/282] Compiling ArgumentParser ArgumentDefinition.swift
[111/282] Compiling ArgumentParser ArgumentSet.swift
[112/282] Compiling ArgumentParser CommandParser.swift
[113/282] Compiling ArgumentParser InputKey.swift
[114/282] Compiling ArgumentParser Foundation.swift
[115/282] Compiling ArgumentParser Mutex.swift
[116/282] Compiling ArgumentParser Platform.swift
[117/282] Compiling ArgumentParser SequenceExtensions.swift
[118/282] Compiling ArgumentParser StringExtensions.swift
[119/282] Compiling ArgumentParser SwiftExtensions.swift
[120/282] Compiling ArgumentParser BashCompletionsGenerator.swift
[121/282] Compiling ArgumentParser CompletionsGenerator.swift
[122/282] Compiling ArgumentParser FishCompletionsGenerator.swift
[123/282] Compiling ArgumentParser ZshCompletionsGenerator.swift
[124/282] Compiling ArgumentParser Argument.swift
[125/282] Compiling ArgumentParser ArgumentDiscussion.swift
[126/282] Compiling ArgumentParser ArgumentHelp.swift
[127/282] Compiling ArgumentParser DumpHelpGenerator.swift
[128/282] Compiling ArgumentParser HelpCommand.swift
[129/282] Compiling ArgumentParser HelpGenerator.swift
[130/282] Compiling ArgumentParser MessageInfo.swift
[131/282] Compiling ArgumentParser UsageGenerator.swift
[132/282] Compiling ArgumentParser CollectionExtensions.swift
[133/282] Compiling ArgumentParser ParentCommand.swift
[134/282] Compiling ArgumentParser AsyncParsableCommand.swift
[135/282] Compiling ArgumentParser CommandConfiguration.swift
[136/282] Compiling ArgumentParser CommandGroup.swift
[137/282] Compiling ArgumentParser EnumerableFlag.swift
[138/282] Compiling ArgumentParser ExpressibleByArgument.swift
[139/282] Compiling ArgumentParser ParsableArguments.swift
[140/282] Compiling ArgumentParser InputOrigin.swift
[141/282] Compiling ArgumentParser Name.swift
[142/282] Compiling ArgumentParser Parsed.swift
[143/282] Compiling ArgumentParser ParsedValues.swift
[144/282] Compiling ArgumentParser ParserError.swift
[145/282] Compiling ArgumentParser SplitArguments.swift
[146/282] Compiling ExtensionApiJson resource_bundle_accessor.swift
[147/282] Compiling ExtensionApiJson ExtensionApiJson.swift
[150/284] Compiling SwiftGodotTestRunner SwiftGodotTestRunner.swift
[151/284] Compiling SwiftGodotTestRunner TestResults.swift
[152/285] Wrapping AST for ArgumentParser for debugging
[154/285] Compiling ExtensionApi ApiJsonModel+Extra.swift
[155/285] Compiling ExtensionApi ApiJsonModel.swift
[156/286] Wrapping AST for SwiftGodotTestRunner for debugging
[157/286] Write Objects.LinkFileList
[158/286] Wrapping AST for ExtensionApi for debugging
[159/286] Linking SwiftGodotTestRunner
[161/286] Emitting module SwiftSyntax
[162/287] Wrapping AST for SwiftSyntax for debugging
[164/290] Emitting module SwiftBasicFormat
[165/290] Emitting module SwiftDiagnostics
[167/292] Wrapping AST for SwiftBasicFormat for debugging
[168/292] Wrapping AST for SwiftDiagnostics for debugging
[170/292] Emitting module SwiftParser
[171/298] Wrapping AST for SwiftParser for debugging
[173/305] Emitting module EntryPointGenerator
[174/305] Emitting module SwiftSyntax
[175/314] Compiling SwiftOperators OperatorError.swift
[176/314] Compiling SwiftOperators OperatorTable+Defaults.swift
[177/315] Compiling SwiftOperators PrecedenceGroup.swift
[178/315] Compiling SwiftOperators Operator.swift
[179/315] Compiling SwiftOperators OperatorError+Diagnostics.swift
[180/315] Compiling SwiftOperators PrecedenceGraph.swift
[181/315] Emitting module SwiftParserDiagnostics
[183/316] Emitting module SwiftOperators
[185/316] Compiling SwiftOperators OperatorTable.swift
[186/316] Compiling SwiftOperators OperatorTable+Semantics.swift
[187/316] Compiling SwiftOperators OperatorTable+Folding.swift
[188/316] Compiling SwiftOperators SyntaxSynthesis.swift
[188/317] Wrapping AST for EntryPointGenerator for debugging
[189/317] Write Objects.LinkFileList
[191/317] Wrapping AST for SwiftParserDiagnostics for debugging
[192/317] Wrapping AST for SwiftOperators for debugging
[194/318] Emitting module SwiftSyntaxBuilder
[195/319] Wrapping AST for SwiftSyntaxBuilder for debugging
[196/319] Linking EntryPointGenerator-tool
Generated swift_entry_point, registering 3 classes, in EntryPoint.generated.swift.
[197/319] Generating Godot entry point
[198/319] Write sources
[200/336] Compiling SwiftSyntaxMacros AccessorMacro.swift
[201/336] Compiling SwiftSyntaxMacros AttachedMacro.swift
[202/336] Compiling SwiftSyntaxMacros BodyMacro.swift
[203/338] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[204/338] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[205/339] Compiling SwiftSyntaxMacros Macro.swift
[206/339] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[207/339] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[208/339] Compiling SwiftSyntaxMacros Macro+Format.swift
[209/339] Compiling SwiftSyntaxMacros MemberMacro.swift
[210/339] Compiling SwiftSyntaxMacros PeerMacro.swift
[211/339] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[212/339] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[213/339] Compiling SwiftSyntaxMacros PreambleMacro.swift
[214/339] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[215/339] Emitting module SwiftSyntaxMacros
[216/339] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[217/339] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[218/339] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[220/340] Emitting module Generator
[221/341] Wrapping AST for SwiftSyntaxMacros for debugging
[222/350] Wrapping AST for Generator for debugging
[223/350] Write Objects.LinkFileList
[225/350] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[226/351] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[227/351] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[228/351] Emitting module SwiftSyntaxMacroExpansion
[229/351] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[230/351] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[231/351] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[232/351] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[233/351] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[233/351] Linking Generator-tool
[235/351] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[236/352] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[238/364] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[239/364] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[240/365] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[241/365] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[242/365] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[243/365] Emitting module SwiftCompilerPluginMessageHandling
[244/365] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[245/365] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
Looking for Image but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for Node but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for Node but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for MainLoop but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/tools/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
[245/365] Generating SwiftGodot API for SwiftGodotRuntime
[246/365] Write sources
[248/365] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[249/365] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[250/365] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
Looking for Image but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for Node but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for Node but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for MainLoop but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
Looking for ScriptLanguage but did not exist in /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Generator-tool /host/spi-builder-workspace/Sources/ExtensionApi/extension_api.json /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/GeneratedSources/SwiftGodotRuntime --class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-classes.txt --available-class-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-available-classes.txt --builtin-filter /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SwiftGodotRuntime/destination/CodeGeneratorPlugin/Configuration/SwiftGodotRuntime-builtins.txt
[250/365] Generating SwiftGodot API for SwiftGodotRuntime
[251/365] Write sources
[253/365] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[254/365] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[255/368] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[256/368] Generating SwiftGodot API for SwiftGodot
[259/368] Emitting module SwiftCompilerPlugin
[260/368] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[260/368] Write sources
[263/369] Wrapping AST for SwiftCompilerPlugin for debugging
[265/389] Compiling SwiftGodotMacroLibrary MacroExportGroup.swift
[266/389] Compiling SwiftGodotMacroLibrary MacroExportSubgroup.swift
[267/390] Compiling SwiftGodotTestMacrosLibrary Plugin.swift
[268/391] Compiling SwiftGodotTestMacrosLibrary SwiftGodotTestMacro.swift
[269/391] Emitting module SwiftGodotTestMacrosLibrary
[270/391] Compiling SwiftGodotTestMacrosLibrary Errors.swift
[271/391] Compiling SwiftGodotTestMacrosLibrary SwiftGodotTestSuiteMacro.swift
[272/392] Compiling SwiftGodotMacroLibrary MacroCallable.swift
[273/392] Compiling SwiftGodotMacroLibrary MacroExport.swift
[275/392] Compiling SwiftGodotMacroLibrary SignalAttachmentMacro.swift
[276/392] Compiling SwiftGodotMacroLibrary SignalMacro.swift
[277/392] Compiling SwiftGodotMacroLibrary PickerNameProviderMacro.swift
[278/392] Compiling SwiftGodotMacroLibrary SceneTreeMacro.swift
[279/392] Compiling SwiftGodotMacroLibrary MacroSharedApi.swift
[280/392] Compiling SwiftGodotMacroLibrary NativeHandleDiscardingMacro.swift
[281/392] Compiling SwiftGodotMacroLibrary CodePrinter.swift
[282/392] Compiling SwiftGodotMacroLibrary InitSwiftExtensionMacro.swift
[283/392] Emitting module SwiftGodotMacroLibrary
[283/392] Wrapping AST for SwiftGodotTestMacrosLibrary for debugging
[284/392] Write Objects.LinkFileList
[286/392] Compiling SwiftGodotMacroLibrary SwiftSyntaxExtensions.swift
[287/392] Compiling SwiftGodotMacroLibrary TextureLiteralMacro.swift
[288/392] Compiling SwiftGodotMacroLibrary MacroGodot.swift
[289/392] Compiling SwiftGodotMacroLibrary MacroRpc.swift
[290/393] Wrapping AST for SwiftGodotMacroLibrary for debugging
[291/393] Write Objects.LinkFileList
[292/393] Linking SwiftGodotTestMacrosLibrary-tool
[293/393] Linking SwiftGodotMacroLibrary-tool
[295/549] Compiling SwiftGodotRuntime TypedDictionary.swift
[296/549] Compiling SwiftGodotRuntime VariantCollection.swift
[297/549] Compiling SwiftGodotRuntime VariantConvertible.swift
[298/549] Compiling SwiftGodotRuntime Wrapped.swift
[299/549] Compiling SwiftGodotRuntime EntryPoint.swift
[300/549] Compiling SwiftGodotRuntime Export.swift
[301/549] Compiling SwiftGodotRuntime Quaternion.swift
[302/549] Compiling SwiftGodotRuntime Rect2.swift
[303/549] Compiling SwiftGodotRuntime Rect2i.swift
[304/549] Compiling SwiftGodotRuntime CallableExtensions.swift
[305/549] Compiling SwiftGodotRuntime ClassInfoExtensions.swift
[306/549] Compiling SwiftGodotRuntime ColorExtensions.swift
[307/549] Compiling SwiftGodotRuntime Compat.swift
[308/549] Compiling SwiftGodotRuntime GDUtilityFunctions.swift
[309/549] Compiling SwiftGodotRuntime ObjectExtensions.swift
[310/549] Compiling SwiftGodotRuntime RefCountedExtensions.swift
[311/549] Compiling SwiftGodotRuntime VariantArrayExtensions.swift
[312/549] Compiling SwiftGodotRuntime VariantDictionaryExtensions.swift
[313/549] Compiling SwiftGodotRuntime FastVariant.swift
[314/549] Compiling SwiftGodotRuntime SwiftGodot.swift
[315/549] Compiling SwiftGodotRuntime Variant.swift
[316/549] Compiling SwiftGodotRuntime AABB.swift
[317/549] Compiling SwiftGodotRuntime Array.swift
[318/549] Compiling SwiftGodotRuntime Basis.swift
[319/549] Compiling SwiftGodotRuntime Callable.swift
[320/549] Compiling SwiftGodotRuntime Color.swift
[321/549] Compiling SwiftGodotRuntime core-defs.swift
[322/549] Compiling SwiftGodotRuntime SignalProxy.swift
[323/549] Compiling SwiftGodotRuntime SignalRegistration.swift
[324/549] Compiling SwiftGodotRuntime SignalWithArguments.swift
[325/549] Compiling SwiftGodotRuntime StringExtensions.swift
[326/549] Compiling SwiftGodotRuntime TypedArray.swift
[333/559] Compiling SwiftGodotRuntime GodotInterface.swift
[334/559] Compiling SwiftGodotRuntime MacroDefs.swift
[335/559] Compiling SwiftGodotRuntime MacroCallableWrapResult.swift
[336/559] Compiling SwiftGodotRuntime MacroExportInvokeGetter.swift
[337/559] Compiling SwiftGodotRuntime MacroExportInvokeSetter.swift
[338/559] Compiling SwiftGodotRuntime MacroGodotArgumentPropInfo.swift
[339/559] Compiling SwiftGodotRuntime MacroGodotPropertyPropInfo.swift
[340/559] Compiling SwiftGodotRuntime MacroGodotReturnValuePropInfo.swift
[341/559] Compiling SwiftGodotRuntime LinearInterpolation.swift
[342/559] Compiling SwiftGodotRuntime RotationConversion.swift
[343/559] Compiling SwiftGodotRuntime Snapped.swift
[347/569] Compiling SwiftGodotRuntime RID.swift
[348/569] Compiling SwiftGodotRuntime Signal.swift
[349/569] Compiling SwiftGodotRuntime String.swift
[350/569] Compiling SwiftGodotRuntime StringName.swift
[351/569] Compiling SwiftGodotRuntime Transform2D.swift
[352/569] Compiling SwiftGodotRuntime Transform3D.swift
[353/569] Compiling SwiftGodotRuntime utility.swift
[354/569] Compiling SwiftGodotRuntime Vector2.swift
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
[366/569] Compiling SwiftGodotRuntime Arguments.swift
[367/569] Compiling SwiftGodotRuntime BuiltinConvertible.swift
[368/569] Compiling SwiftGodotRuntime ClassServices.swift
[369/569] Compiling SwiftGodotRuntime EditorInterop.swift
[370/569] Compiling SwiftGodotRuntime FastFunctionBridging.swift
[371/569] Compiling SwiftGodotRuntime FastStringName.swift
[372/569] Compiling SwiftGodotRuntime InitializationLevel.swift
[373/569] Compiling SwiftGodotRuntime InspectableProperty.swift
[374/569] Compiling SwiftGodotRuntime NIOLock.swift
[375/569] Compiling SwiftGodotRuntime ObjectCollection.swift
[376/569] Compiling SwiftGodotRuntime Packed.swift
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
/host/spi-builder-workspace/Sources/SwiftGodotRuntime/Core/EditorInterop.swift:25:34: error: value of type 'String' has no member 'utf8Span'
23 | GD.print("Loading from \(getLibraryPath())")
24 | if #available(iOS 26.0, macOS 26.0, *) {
25 | let span = xmlString.utf8Span
| `- error: value of type 'String' has no member 'utf8Span'
26 | span.span.withUnsafeBytes { buffer in
27 | // Bind to CChar (Int8) because the imported symbol expects CChar*
[388/569] Emitting module SwiftGodotRuntime
[390/569] Compiling SwiftGodotRuntime Arithmetic.swift
[401/569] Compiling SwiftGodotRuntime PackedColorArray.swift
[402/569] Compiling SwiftGodotRuntime PackedFloat32Array.swift
[403/569] Compiling SwiftGodotRuntime PackedFloat64Array.swift
[404/569] Compiling SwiftGodotRuntime PackedInt32Array.swift
[405/569] Compiling SwiftGodotRuntime PackedInt64Array.swift
[406/569] Compiling SwiftGodotRuntime PackedStringArray.swift
[407/569] Compiling SwiftGodotRuntime PackedVector2Array.swift
[408/569] Compiling SwiftGodotRuntime PackedVector3Array.swift
[409/569] Compiling SwiftGodotRuntime PackedVector4Array.swift
[410/569] Compiling SwiftGodotRuntime Plane.swift
[411/569] Compiling SwiftGodotRuntime Projection.swift
[448/569] Compiling SwiftGodotRuntime Vector2i.swift
[449/569] Compiling SwiftGodotRuntime Vector3.swift
[450/569] Compiling SwiftGodotRuntime Vector3i.swift
[451/569] Compiling SwiftGodotRuntime Vector4.swift
[452/569] Compiling SwiftGodotRuntime Vector4i.swift
[453/569] Compiling SwiftGodotRuntime ClassDB.swift
[454/569] Compiling SwiftGodotRuntime Object.swift
[455/569] Compiling SwiftGodotRuntime Engine.swift
[456/569] Compiling SwiftGodotRuntime RefCounted.swift
[457/569] Compiling SwiftGodotRuntime Resource.swift
[487/569] Compiling SwiftGodotRuntime Dictionary.swift
[488/569] Compiling SwiftGodotRuntime NodePath.swift
[489/569] Compiling SwiftGodotRuntime PackedByteArray.swift
BUILD FAILURE 6.1 android