The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of gir2swift, reference main (d00424), with Swift 6.2 (beta) for Linux on 23 Jun 2025 07:50:16 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d004249 Merge branch 'development'
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
d004249c82a8d374f1db928f3fcd99964a446937
SUCCESS checkout https://github.com/rhx/gir2swift.git at main
========================================
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-4606859-0":/host -w "$PWD" 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:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.38s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
[871/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.62s)
[7504/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (3.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.73s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/43] Write sources
[10/43] Compiling writer.c
[12/43] Compiling reader.c
[13/43] Compiling parser.c
[14/43] Compiling reader.c
[15/43] Compiling api.c
[15/43] Write sources
[20/43] Compiling parser.c
[21/43] Compiling emitter.c
[22/43] Compiling api.c
[23/43] Write swift-version-24593BA9C3E375BF.txt
[23/43] Compiling scanner.c
[26/43] Compiling emitter.c
[28/91] Emitting module Yams
[29/92] Compiling Yams Node.Scalar.swift
[30/92] Compiling Yams Node.Sequence.swift
[31/93] Compiling Yams Node.swift
[32/93] Compiling Yams Parser.swift
[33/93] Compiling Yams Mark.swift
[34/93] Compiling Yams Node.Mapping.swift
[35/93] Emitting module SwiftLibXML
[36/93] Compiling Yams Emitter.swift
[37/93] Compiling Yams Encoder.swift
[38/93] Emitting module SwiftLibXML
[39/93] Compiling Yams YamlError.swift
[41/93] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/93] Emitting module ArgumentParserToolInfo
[43/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[44/94] Emitting module ArgumentParserToolInfo
[46/95] Wrapping AST for ArgumentParserToolInfo for debugging
[49/171] Compiling ArgumentParser BashCompletionsGenerator.swift
[50/171] Compiling ArgumentParser CompletionsGenerator.swift
[53/171] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/171] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/171] Compiling ArgumentParser Argument.swift
[56/176] Compiling SwiftLibXML XMLElement.swift
[57/176] Compiling ArgumentParser OptionGroup.swift
[58/176] Compiling ArgumentParser AsyncParsableCommand.swift
[59/176] Compiling ArgumentParser NameSpecification.swift
[60/176] Compiling ArgumentParser Option.swift
[62/176] Compiling ArgumentParser ArgumentHelp.swift
[63/176] Compiling ArgumentParser Errors.swift
[64/176] Compiling ArgumentParser Flag.swift
[69/177] Emitting module Yams
[70/177] Compiling SwiftLibXML XMLNameSpace.swift
[71/177] Compiling SwiftLibXML XMLPath.swift
[72/177] Compiling ArgumentParser ArgumentVisibility.swift
[73/177] Compiling ArgumentParser CompletionKind.swift
[78/177] Compiling SwiftLibXML XMLNameSpace.swift
[79/177] Compiling SwiftLibXML XMLPath.swift
[81/177] Compiling SwiftLibXML EmptySequence.swift
[82/177] Compiling SwiftLibXML XMLAttribute.swift
[83/178] Compiling SwiftLibXML XMLElement.swift
[84/178] Wrapping AST for Yams for debugging
[87/178] Compiling SwiftLibXML XMLAttribute.swift
[88/178] Compiling SwiftLibXML EmptySequence.swift
[89/178] Compiling SwiftLibXML XMLDocument.swift
[92/180] Wrapping AST for SwiftLibXML for debugging
[95/180] Emitting module ArgumentParser
[102/185] Compiling ArgumentParser ArgumentDefinition.swift
[103/185] Compiling ArgumentParser ArgumentSet.swift
[104/185] Compiling ArgumentParser CommandParser.swift
[105/185] Compiling ArgumentParser InputKey.swift
[106/185] Compiling ArgumentParser InputOrigin.swift
[110/185] Compiling ArgumentParser CommandConfiguration.swift
[111/185] Compiling ArgumentParser CommandGroup.swift
[112/185] Compiling ArgumentParser EnumerableFlag.swift
[119/185] Emitting module ArgumentParser
[120/185] Compiling ArgumentParser CollectionExtensions.swift
[121/185] Compiling ArgumentParser Platform.swift
[122/185] Compiling ArgumentParser SequenceExtensions.swift
[123/185] Compiling ArgumentParser StringExtensions.swift
[124/185] Compiling ArgumentParser Tree.swift
[131/185] Compiling ArgumentParser ExpressibleByArgument.swift
[132/185] Compiling ArgumentParser ParsableArguments.swift
[133/185] Compiling ArgumentParser ParsableArgumentsValidation.swift
[134/185] Compiling ArgumentParser ParsableCommand.swift
[135/185] Compiling ArgumentParser ArgumentDecoder.swift
[141/185] Compiling ArgumentParser Name.swift
[142/185] Compiling ArgumentParser Parsed.swift
[143/185] Compiling ArgumentParser ParsedValues.swift
[144/185] Compiling ArgumentParser ParserError.swift
[145/185] Compiling ArgumentParser SplitArguments.swift
[146/185] Compiling ArgumentParser DumpHelpGenerator.swift
[147/185] Compiling ArgumentParser HelpCommand.swift
[148/185] Compiling ArgumentParser HelpGenerator.swift
[149/185] Compiling ArgumentParser MessageInfo.swift
[150/185] Compiling ArgumentParser UsageGenerator.swift
[176/212] Wrapping AST for ArgumentParser for debugging
[180/269] Compiling libgir2swift GirRecord.swift
[181/269] Compiling libgir2swift GirSignal.swift
[182/269] Compiling libgir2swift GirThing.swift
[183/269] Compiling libgir2swift GirUnion.swift
[184/269] Compiling libgir2swift girtype+xml.swift
[185/269] Compiling libgir2swift GirEnumeration.swift
[186/274] Compiling libgir2swift GirBitfield.swift
[187/274] Compiling libgir2swift GirCType.swift
[188/274] Compiling libgir2swift GirCallback.swift
[189/274] Compiling libgir2swift GirClass.swift
[190/274] Compiling libgir2swift GirConstant.swift
[191/274] Compiling libgir2swift GirDatatype.swift
[192/274] Compiling libgir2swift GirField.swift
[193/274] Compiling libgir2swift GirFunction.swift
[194/274] Compiling libgir2swift GirInterface.swift
[195/274] Compiling libgir2swift GirMethod.swift
[196/274] Compiling libgir2swift GirProperty.swift
[197/274] Compiling libgir2swift Character+Utilities.swift
[198/274] Compiling libgir2swift Collection+Utilities.swift
[199/274] Compiling libgir2swift Streams.swift
[200/274] Compiling libgir2swift String+Substring.swift
[201/274] Compiling libgir2swift String+Utilities.swift
[224/279] Compiling libgir2swift Gir2Swift.swift
[225/279] Compiling libgir2swift GirType.swift
[226/279] Compiling libgir2swift TypeConversion.swift
[227/279] Compiling libgir2swift TypeReference.swift
[228/279] Compiling libgir2swift GirAlias.swift
[229/279] Compiling libgir2swift GirArgument.swift
[236/279] Compiling libgir2swift gtk2swiftdoc.swift
[237/279] Compiling libgir2swift ConversionContext.swift
[238/279] Compiling libgir2swift Gir+Enums.swift
[239/279] Compiling libgir2swift Gir+KnowTypeSets.swift
[240/279] Compiling libgir2swift Gir+KnownTypes.swift
[241/279] Compiling libgir2swift Gir.swift
[248/279] Compiling libgir2swift System.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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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>
[249/279] 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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>
[250/279] 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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>
[251/279] 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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>
[252/279] 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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:154:18: warning: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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: capture of non-Sendable type 'τ_0_0.Type' in an isolated closure; 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>
[258/279] Emitting module libgir2swift
[259/279] Compiling libgir2swift CodeBuilder.swift
[260/279] Compiling libgir2swift c2swift.swift
[261/279] Compiling libgir2swift emit-class.swift
[262/279] Compiling libgir2swift emit-signals.swift
[263/279] Compiling libgir2swift gir+swift.swift
[264/279] Compiling libgir2swift girtypes+swift.swift
[265/280] Wrapping AST for libgir2swift for debugging
[267/282] Emitting module gir2swift
[268/282] Compiling gir2swift main.swift
[269/283] Wrapping AST for gir2swift for debugging
[270/283] Write Objects.LinkFileList
[271/283] Linking gir2swift
[273/283] Emitting module libgir2swift
[280/286] Wrapping AST for libgir2swift for debugging
[282/286] Emitting module gir2swift
[283/286] Compiling gir2swift main.swift
[284/287] Wrapping AST for gir2swift for debugging
[285/287] Write Objects.LinkFileList
[286/287] Linking gir2swift-tool
Build complete! (148.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.6",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftlibxml",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftLibXML.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "gir2swift",
  "name" : "gir2swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "gir2swift",
      "targets" : [
        "gir2swift"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "libgir2swift",
      "targets" : [
        "libgir2swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gir2swift-plugin",
      "targets" : [
        "gir2swift-plugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libgir2swift",
      "module_type" : "SwiftTarget",
      "name" : "libgir2swift",
      "path" : "Sources/libgir2swift",
      "product_dependencies" : [
        "SwiftLibXML",
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "gir2swift",
        "libgir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "emitting/CodeBuilder.swift",
        "emitting/c2swift.swift",
        "emitting/emit-class.swift",
        "emitting/emit-signals.swift",
        "emitting/gir+swift.swift",
        "emitting/girtypes+swift.swift",
        "emitting/gtk2swiftdoc.swift",
        "models/ConversionContext.swift",
        "models/Gir+Enums.swift",
        "models/Gir+KnowTypeSets.swift",
        "models/Gir+KnownTypes.swift",
        "models/Gir.swift",
        "models/Gir2Swift.swift",
        "models/GirType.swift",
        "models/TypeConversion.swift",
        "models/TypeReference.swift",
        "models/gir elements/GirAlias.swift",
        "models/gir elements/GirArgument.swift",
        "models/gir elements/GirBitfield.swift",
        "models/gir elements/GirCType.swift",
        "models/gir elements/GirCallback.swift",
        "models/gir elements/GirClass.swift",
        "models/gir elements/GirConstant.swift",
        "models/gir elements/GirDatatype.swift",
        "models/gir elements/GirEnumeration.swift",
        "models/gir elements/GirField.swift",
        "models/gir elements/GirFunction.swift",
        "models/gir elements/GirInterface.swift",
        "models/gir elements/GirMethod.swift",
        "models/gir elements/GirProperty.swift",
        "models/gir elements/GirRecord.swift",
        "models/gir elements/GirSignal.swift",
        "models/gir elements/GirThing.swift",
        "models/gir elements/GirUnion.swift",
        "models/girtype+xml.swift",
        "utilities/Character+Utilities.swift",
        "utilities/Collection+Utilities.swift",
        "utilities/Streams.swift",
        "utilities/String+Substring.swift",
        "utilities/String+Utilities.swift",
        "utilities/System.swift",
        "utilities/XML+Utilities.swift",
        "utilities/generation.swift",
        "utilities/planning.swift",
        "utilities/postprocessing.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "gir2swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "gir2swiftTests",
      "path" : "Tests/gir2swiftTests",
      "sources" : [
        "gir2swiftTests.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "gir2swift_plugin",
      "module_type" : "PluginTarget",
      "name" : "gir2swift-plugin",
      "path" : "Plugins/gir2swift-plugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "gir2swift-plugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "gir2swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "gir2swift",
      "module_type" : "SwiftTarget",
      "name" : "gir2swift",
      "path" : "Sources/gir2swift",
      "product_memberships" : [
        "gir2swift",
        "gir2swift-plugin"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "libgir2swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.