Build Information
Successful build of gir2swift, reference 18.0.0 (fc0802), with Swift 6.2 for Linux on 11 Mar 2026 21:05:59 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: 18.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/rhx/gir2swift
* tag 18.0.0 -> FETCH_HEAD
HEAD is now at fc08021 Pin SwiftLibXML to 3.0.1 for release
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
fc080218679acca3be073f77485d6ac29ea11733
SUCCESS checkout https://github.com/rhx/gir2swift.git at 18.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/rhx/gir2swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/mipalgu/swift-docc-static
[1/577] Fetching swift-docc-static
Fetched https://github.com/mipalgu/swift-docc-static from cache (0.24s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/97710] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (4.60s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7132] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.50s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10372] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.01s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (0.53s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18322] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.49s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/rhx/SwiftLibXML.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
[1/381] Fetching swiftlibxml
[382/17583] Fetching swiftlibxml, swift-argument-parser
[1071/29088] Fetching swiftlibxml, swift-argument-parser, yams
[1072/34689] Fetching swiftlibxml, swift-argument-parser, yams, swift-system
[11150/51935] Fetching swiftlibxml, swift-argument-parser, yams, swift-system, swift-crypto
[17403/134722] Fetching swiftlibxml, swift-argument-parser, yams, swift-system, swift-crypto, swift-nio
Fetched https://github.com/rhx/SwiftLibXML.git from cache (3.13s)
[84535/134341] Fetching swift-argument-parser, yams, swift-system, swift-crypto, swift-nio
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetched https://github.com/jpsim/Yams.git from cache (3.24s)
[81064/122836] Fetching swift-argument-parser, swift-system, swift-crypto, swift-nio
[88895/125387] Fetching swift-argument-parser, swift-system, swift-crypto, swift-nio, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.95s)
[94689/122836] Fetching swift-argument-parser, swift-system, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (5.63s)
[105590/105590] Fetching swift-argument-parser, swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (9.84s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.85s)
Fetched https://github.com/apple/swift-nio.git from cache (10.27s)
Computing version for https://github.com/rhx/SwiftLibXML.git
Computed https://github.com/rhx/SwiftLibXML.git at 3.0.1 (11.10s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.70s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (2.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[256/24113] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.52s)
Fetched https://github.com/apple/swift-collections.git from cache (2.90s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.42s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.10s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.89s)
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (1047d41)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (a4bc878)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (4c4ff01)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at 3.0.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (55d66d9)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/mipalgu/swift-docc-static
Working copy of https://github.com/mipalgu/swift-docc-static resolved at main (cf48b91)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateStaticDocumentation
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/45] Write sources
[12/45] Compiling writer.c
[13/45] Compiling parser.c
[15/45] Compiling reader.c
[16/45] Write swift-version-24593BA9C3E375BF.txt
[16/45] Compiling api.c
[17/45] Write sources
[21/45] Compiling writer.c
[22/45] Compiling reader.c
[23/45] Compiling emitter.c
[24/50] Compiling api.c
[25/50] Write sources
[26/54] Compiling scanner.c
[28/66] Compiling emitter.c
[30/93] Emitting module SwiftLibXML
[32/93] Compiling SwiftLibXML EmptySequence.swift
[33/93] Compiling Yams Mark.swift
[34/93] Compiling Yams Node.Mapping.swift
[35/93] Compiling Yams Node.Scalar.swift
[36/93] Compiling Yams Node.Sequence.swift
[37/94] Compiling SwiftLibXML EmptySequence.swift
[38/94] Compiling SwiftLibXML XMLAttribute.swift
[39/94] Compiling SwiftLibXML XMLPath.swift
[40/94] Compiling SwiftLibXML XMLElement.swift
[41/94] Compiling SwiftLibXML XMLNameSpace.swift
[42/94] Compiling Yams YamlError.swift
[43/94] Compiling SwiftLibXML XMLElement.swift
[44/94] Compiling SwiftLibXML XMLNameSpace.swift
[45/94] Compiling SwiftLibXML XMLPath.swift
[46/94] Emitting module ArgumentParserToolInfo
[47/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[49/95] Emitting module ArgumentParserToolInfo
[50/95] Compiling ArgumentParserToolInfo ToolInfo.swift
[51/96] Wrapping AST for ArgumentParserToolInfo for debugging
[54/188] Compiling ArgumentParser ArgumentHelp.swift
[55/188] Compiling ArgumentParser ArgumentVisibility.swift
[56/188] Compiling ArgumentParser BashCompletionsGenerator.swift
[57/188] Compiling ArgumentParser CompletionsGenerator.swift
[58/189] Emitting module Yams
[59/189] Compiling ArgumentParser Argument.swift
[60/189] Compiling ArgumentParser ArgumentDiscussion.swift
[61/189] Compiling ArgumentParser Option.swift
[62/189] Compiling ArgumentParser OptionGroup.swift
[63/189] Compiling ArgumentParser Foundation.swift
[64/189] Compiling ArgumentParser Mutex.swift
[65/189] Compiling ArgumentParser Platform.swift
[66/189] Compiling ArgumentParser SequenceExtensions.swift
[67/189] Compiling ArgumentParser StringExtensions.swift
[68/189] Compiling ArgumentParser SwiftExtensions.swift
[75/195] Emitting module Yams
[76/195] Compiling ArgumentParser FishCompletionsGenerator.swift
[77/195] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/201] Compiling ArgumentParser Flag.swift
[81/201] Compiling ArgumentParser NameSpecification.swift
[82/201] Compiling ArgumentParser CompletionKind.swift
[83/201] Compiling ArgumentParser Errors.swift
[92/202] Compiling SwiftLibXML XMLDocument.swift
[95/203] Compiling SwiftLibXML XMLAttribute.swift
[96/203] Compiling SwiftLibXML XMLDocument.swift
[97/204] Wrapping AST for SwiftLibXML for debugging
[98/204] Wrapping AST for Yams for debugging
[100/204] Compiling Yams YamlError.swift
[100/204] Wrapping AST for SwiftLibXML for debugging
[102/205] Wrapping AST for Yams for debugging
[111/205] Compiling ArgumentParser Tree.swift
[112/205] Compiling ArgumentParser CodingKeyValidator.swift
[113/205] Compiling ArgumentParser NonsenseFlagsValidator.swift
[114/205] Compiling ArgumentParser ParsableArgumentsValidation.swift
[115/205] Compiling ArgumentParser PositionalArgumentsValidator.swift
[116/205] Compiling ArgumentParser UniqueNamesValidator.swift
[117/205] Compiling ArgumentParser InputOrigin.swift
[118/205] Compiling ArgumentParser Name.swift
[119/205] Compiling ArgumentParser Parsed.swift
[120/205] Compiling ArgumentParser ParsedValues.swift
[121/205] Compiling ArgumentParser ParserError.swift
[122/205] Compiling ArgumentParser SplitArguments.swift
[123/205] Compiling ArgumentParser DumpHelpGenerator.swift
[124/205] Compiling ArgumentParser HelpCommand.swift
[125/205] Compiling ArgumentParser HelpGenerator.swift
[126/205] Compiling ArgumentParser MessageInfo.swift
[127/205] Compiling ArgumentParser UsageGenerator.swift
[128/205] Compiling ArgumentParser CollectionExtensions.swift
[142/205] Emitting module ArgumentParser
[170/205] Compiling ArgumentParser ParsableArguments.swift
[171/205] Compiling ArgumentParser ParsableCommand.swift
[172/205] Compiling ArgumentParser ArgumentDecoder.swift
[173/205] Compiling ArgumentParser ArgumentDefinition.swift
[174/205] Compiling ArgumentParser ArgumentSet.swift
[175/205] Compiling ArgumentParser CommandParser.swift
[176/205] Compiling ArgumentParser InputKey.swift
[177/205] Compiling ArgumentParser ParentCommand.swift
[178/205] Compiling ArgumentParser AsyncParsableCommand.swift
[179/205] Compiling ArgumentParser CommandConfiguration.swift
[180/205] Compiling ArgumentParser CommandGroup.swift
[181/205] Compiling ArgumentParser EnumerableFlag.swift
[182/205] Compiling ArgumentParser ExpressibleByArgument.swift
[196/207] Wrapping AST for ArgumentParser for debugging
[200/291] Compiling libgir2swift GirRecord.swift
[201/291] Compiling libgir2swift GirSignal.swift
[202/291] Compiling libgir2swift GirThing.swift
[203/291] Compiling libgir2swift GirUnion.swift
[204/291] Compiling libgir2swift girtype+xml.swift
[205/291] Compiling libgir2swift Character+Utilities.swift
[206/296] Compiling libgir2swift GirBitfield.swift
[207/296] Compiling libgir2swift GirCType.swift
[208/296] Compiling libgir2swift GirCallback.swift
[209/296] Compiling libgir2swift GirClass.swift
[210/296] Compiling libgir2swift GirConstant.swift
[211/296] Compiling libgir2swift GirDatatype.swift
[212/296] Compiling libgir2swift GirEnumeration.swift
[213/296] Compiling libgir2swift GirField.swift
[214/296] Compiling libgir2swift GirFunction.swift
[215/296] Compiling libgir2swift GirInterface.swift
[216/296] Compiling libgir2swift GirMethod.swift
[217/296] Compiling libgir2swift GirProperty.swift
[218/296] Compiling libgir2swift Collection+Utilities.swift
[219/296] Compiling libgir2swift Streams.swift
[220/296] Compiling libgir2swift String+Substring.swift
[221/296] Compiling libgir2swift String+Utilities.swift
[222/296] Compiling libgir2swift System.swift
[246/301] Emitting module libgir2swift
[248/301] Compiling libgir2swift gtk2swiftdoc.swift
[249/301] Compiling libgir2swift ConversionContext.swift
[250/301] Compiling libgir2swift Gir+Enums.swift
[251/301] Compiling libgir2swift Gir+KnowTypeSets.swift
[252/301] Compiling libgir2swift Gir+KnownTypes.swift
[253/301] Compiling libgir2swift Gir.swift
[254/301] Compiling libgir2swift Gir2Swift.swift
[255/301] Compiling libgir2swift GirType.swift
[256/301] Compiling libgir2swift TypeConversion.swift
[257/301] Compiling libgir2swift TypeReference.swift
[258/301] Compiling libgir2swift GirAlias.swift
[259/301] Compiling libgir2swift GirArgument.swift
[260/301] Compiling libgir2swift CodeBuilder.swift
[261/301] Compiling libgir2swift c2swift.swift
[262/301] Compiling libgir2swift emit-class.swift
[263/301] Compiling libgir2swift emit-signals.swift
[264/301] Compiling libgir2swift gir+swift.swift
[265/301] Compiling libgir2swift girtypes+swift.swift
[272/301] Compiling libgir2swift XML+Utilities.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[273/301] Compiling libgir2swift generation.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[274/301] Compiling libgir2swift incremental-generation.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[275/301] Compiling libgir2swift planning.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[276/301] Compiling libgir2swift postprocessing.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[288/302] Wrapping AST for libgir2swift for debugging
[296/305] Compiling gir2swift main.swift
[297/305] Emitting module gir2swift
[299/306] Wrapping AST for gir2swift for debugging
[300/306] Write Objects.LinkFileList
[301/306] Wrapping AST for libgir2swift for debugging
[303/308] Compiling gir2swift main.swift
[304/308] Emitting module gir2swift
[305/309] Wrapping AST for gir2swift for debugging
[306/309] Write Objects.LinkFileList
[307/309] Linking gir2swift
[308/309] Linking gir2swift-tool
Build complete! (115.59s)
Build complete.
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.6",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swiftlibxml",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.1",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rhx/SwiftLibXML.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-static",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mipalgu/swift-docc-static"
}
],
"manifest_display_name" : "gir2swift",
"name" : "gir2swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "gir2swift",
"targets" : [
"gir2swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "libgir2swift",
"targets" : [
"libgir2swift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gir2swift-plugin",
"targets" : [
"gir2swift-plugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "libgir2swift",
"module_type" : "SwiftTarget",
"name" : "libgir2swift",
"path" : "Sources/libgir2swift",
"product_dependencies" : [
"SwiftLibXML",
"ArgumentParser",
"Yams"
],
"product_memberships" : [
"gir2swift",
"libgir2swift",
"gir2swift-plugin"
],
"sources" : [
"emitting/CodeBuilder.swift",
"emitting/c2swift.swift",
"emitting/emit-class.swift",
"emitting/emit-signals.swift",
"emitting/gir+swift.swift",
"emitting/girtypes+swift.swift",
"emitting/gtk2swiftdoc.swift",
"models/ConversionContext.swift",
"models/Gir+Enums.swift",
"models/Gir+KnowTypeSets.swift",
"models/Gir+KnownTypes.swift",
"models/Gir.swift",
"models/Gir2Swift.swift",
"models/GirType.swift",
"models/TypeConversion.swift",
"models/TypeReference.swift",
"models/gir elements/GirAlias.swift",
"models/gir elements/GirArgument.swift",
"models/gir elements/GirBitfield.swift",
"models/gir elements/GirCType.swift",
"models/gir elements/GirCallback.swift",
"models/gir elements/GirClass.swift",
"models/gir elements/GirConstant.swift",
"models/gir elements/GirDatatype.swift",
"models/gir elements/GirEnumeration.swift",
"models/gir elements/GirField.swift",
"models/gir elements/GirFunction.swift",
"models/gir elements/GirInterface.swift",
"models/gir elements/GirMethod.swift",
"models/gir elements/GirProperty.swift",
"models/gir elements/GirRecord.swift",
"models/gir elements/GirSignal.swift",
"models/gir elements/GirThing.swift",
"models/gir elements/GirUnion.swift",
"models/girtype+xml.swift",
"utilities/Character+Utilities.swift",
"utilities/Collection+Utilities.swift",
"utilities/Streams.swift",
"utilities/String+Substring.swift",
"utilities/String+Utilities.swift",
"utilities/System.swift",
"utilities/XML+Utilities.swift",
"utilities/generation.swift",
"utilities/incremental-generation.swift",
"utilities/planning.swift",
"utilities/postprocessing.swift"
],
"type" : "library"
},
{
"c99name" : "gir2swiftTests",
"module_type" : "SwiftTarget",
"name" : "gir2swiftTests",
"path" : "Tests/gir2swiftTests",
"sources" : [
"gir2swiftTests.swift"
],
"target_dependencies" : [
"libgir2swift"
],
"type" : "test"
},
{
"c99name" : "gir2swift_plugin",
"module_type" : "PluginTarget",
"name" : "gir2swift-plugin",
"path" : "Plugins/gir2swift-plugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"gir2swift-plugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"gir2swift"
],
"type" : "plugin"
},
{
"c99name" : "gir2swift",
"module_type" : "SwiftTarget",
"name" : "gir2swift",
"path" : "Sources/gir2swift",
"product_memberships" : [
"gir2swift",
"gir2swift-plugin"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"libgir2swift"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.