Build Information
Successful build of gir2swift, reference main (e2b894), with Swift 6.2 for Linux on 12 Mar 2026 21:48:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: 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 e2b894e Update badges and SwiftLibXML dependency to main branch
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
e2b894e3ba0197d7c2ebe1cde62e5c1faa404b75
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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/rhx/SwiftLibXML.git
[1/425] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.65s)
Fetching https://github.com/mipalgu/swift-docc-static
[1/577] Fetching swift-docc-static
Fetched https://github.com/mipalgu/swift-docc-static from cache (0.29s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/97722] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (3.87s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7138] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.47s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10372] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.32s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (0.37s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18322] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.91s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/17216] Fetching swift-argument-parser
[4478/28721] Fetching swift-argument-parser, yams
[6201/31275] Fetching swift-argument-parser, yams, swift-subprocess
[11312/48521] Fetching swift-argument-parser, yams, swift-subprocess, swift-crypto
[27479/131329] Fetching swift-argument-parser, yams, swift-subprocess, swift-crypto, swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.43s)
[74677/128775] Fetching swift-argument-parser, yams, swift-crypto, swift-nio
Fetched https://github.com/jpsim/Yams.git from cache (1.48s)
[64207/117270] Fetching swift-argument-parser, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.16s)
[68557/100024] Fetching swift-argument-parser, swift-nio
[71043/105625] Fetching swift-argument-parser, swift-nio, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
[74354/100024] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.38s)
Fetched https://github.com/apple/swift-nio.git from cache (5.49s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (5.88s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.96.0 (0.80s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[602/24119] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.19s)
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (0.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.35s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.75s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (55d66d9)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (1047d41)
Creating working copy for https://github.com/mipalgu/swift-docc-static
Working copy of https://github.com/mipalgu/swift-docc-static resolved at main (cf48b91)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (900f899)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (4c4ff01)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.96.0
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (a4bc878)
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateStaticDocumentation
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/45] Write sources
[12/45] Compiling writer.c
[13/45] Compiling parser.c
[14/45] Compiling api.c
[15/45] Write swift-version-24593BA9C3E375BF.txt
[16/45] Compiling writer.c
[17/45] Compiling api.c
[18/45] Compiling reader.c
[19/45] Compiling emitter.c
[19/45] Write sources
[24/45] Compiling emitter.c
[25/45] Compiling reader.c
[26/57] Compiling parser.c
[27/61] Compiling scanner.c
[30/93] Compiling SwiftLibXML EmptySequence.swift
[31/93] Emitting module ArgumentParserToolInfo
[32/93] Compiling ArgumentParserToolInfo ToolInfo.swift
[34/94] Compiling SwiftLibXML XMLElement.swift
[35/94] Emitting module SwiftLibXML
[36/94] Compiling SwiftLibXML XMLNameSpace.swift
[37/94] Compiling SwiftLibXML XMLPath.swift
[38/94] Compiling SwiftLibXML XMLNameSpace.swift
[39/94] Emitting module SwiftLibXML
[40/94] Compiling SwiftLibXML XMLPath.swift
[41/94] Compiling SwiftLibXML XMLElement.swift
[41/94] Wrapping AST for ArgumentParserToolInfo for debugging
[43/140] Emitting module ArgumentParserToolInfo
[44/140] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/141] Wrapping AST for ArgumentParserToolInfo for debugging
[47/187] Compiling ArgumentParser Foundation.swift
[48/187] Compiling ArgumentParser Mutex.swift
[49/187] Compiling ArgumentParser Platform.swift
[50/187] Compiling ArgumentParser SequenceExtensions.swift
[51/187] Compiling ArgumentParser StringExtensions.swift
[52/187] Compiling ArgumentParser SwiftExtensions.swift
[53/193] Compiling ArgumentParser Errors.swift
[54/193] Compiling ArgumentParser Flag.swift
[55/194] Compiling ArgumentParser ArgumentDiscussion.swift
[56/194] Compiling ArgumentParser ArgumentHelp.swift
[57/195] Compiling ArgumentParser NameSpecification.swift
[58/195] Compiling ArgumentParser Option.swift
[59/195] Compiling ArgumentParser CompletionsGenerator.swift
[60/195] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/195] Compiling ArgumentParser OptionGroup.swift
[62/195] Compiling ArgumentParser BashCompletionsGenerator.swift
[63/195] Compiling ArgumentParser ArgumentVisibility.swift
[64/195] Compiling ArgumentParser CompletionKind.swift
[65/195] Emitting module Yams
[66/195] Compiling ArgumentParser ZshCompletionsGenerator.swift
[67/195] Compiling ArgumentParser Argument.swift
[70/195] Emitting module Yams
[83/195] Compiling SwiftLibXML EmptySequence.swift
[84/195] Compiling SwiftLibXML XMLAttribute.swift
[85/195] Compiling SwiftLibXML XMLDocument.swift
[86/195] Compiling SwiftLibXML XMLAttribute.swift
[87/195] Compiling SwiftLibXML XMLDocument.swift
[89/197] Compiling ArgumentParser ParentCommand.swift
[90/197] Compiling ArgumentParser AsyncParsableCommand.swift
[91/197] Compiling ArgumentParser CommandConfiguration.swift
[92/197] Compiling ArgumentParser CommandGroup.swift
[93/197] Compiling ArgumentParser EnumerableFlag.swift
[94/197] Compiling ArgumentParser ExpressibleByArgument.swift
[95/197] Compiling ArgumentParser ParsableArguments.swift
[103/203] Compiling ArgumentParser DumpHelpGenerator.swift
[104/203] Compiling ArgumentParser HelpCommand.swift
[105/203] Compiling ArgumentParser HelpGenerator.swift
[106/203] Compiling ArgumentParser MessageInfo.swift
[107/203] Compiling ArgumentParser UsageGenerator.swift
[108/203] Compiling ArgumentParser CollectionExtensions.swift
[109/203] Compiling Yams YamlError.swift
[111/204] Wrapping AST for SwiftLibXML for debugging
[114/205] Wrapping AST for Yams for debugging
[117/205] Emitting module ArgumentParser
[132/205] Compiling ArgumentParser Tree.swift
[133/205] Compiling ArgumentParser CodingKeyValidator.swift
[134/205] Compiling ArgumentParser NonsenseFlagsValidator.swift
[135/205] Compiling ArgumentParser ParsableArgumentsValidation.swift
[136/205] Compiling ArgumentParser PositionalArgumentsValidator.swift
[138/205] Compiling ArgumentParser UniqueNamesValidator.swift
[144/205] Compiling ArgumentParser InputOrigin.swift
[145/205] Compiling ArgumentParser Name.swift
[146/205] Compiling ArgumentParser Parsed.swift
[147/205] Compiling ArgumentParser ParsedValues.swift
[148/205] Compiling ArgumentParser ParserError.swift
[149/205] Compiling ArgumentParser SplitArguments.swift
[150/205] Emitting module ArgumentParser
[166/205] Compiling ArgumentParser ParsableCommand.swift
[167/205] Compiling ArgumentParser ArgumentDecoder.swift
[168/205] Compiling ArgumentParser ArgumentDefinition.swift
[169/205] Compiling ArgumentParser ArgumentSet.swift
[170/205] Compiling ArgumentParser CommandParser.swift
[171/205] Compiling ArgumentParser InputKey.swift
[190/206] Wrapping AST for ArgumentParser for debugging
[192/248] Compiling libgir2swift String+Utilities.swift
[193/248] Compiling libgir2swift System.swift
[194/248] Compiling libgir2swift gtk2swiftdoc.swift
[195/248] Compiling libgir2swift ConversionContext.swift
[196/248] Compiling libgir2swift Gir+Enums.swift
[197/248] Compiling libgir2swift Gir+KnowTypeSets.swift
[198/249] Wrapping AST for ArgumentParser for debugging
[200/291] Compiling libgir2swift gtk2swiftdoc.swift
[201/291] Compiling libgir2swift ConversionContext.swift
[202/291] Compiling libgir2swift Gir+Enums.swift
[203/291] Compiling libgir2swift Gir+KnowTypeSets.swift
[204/291] Compiling libgir2swift Gir+KnownTypes.swift
[205/291] Compiling libgir2swift Gir.swift
[206/296] Compiling libgir2swift GirBitfield.swift
[207/296] Compiling libgir2swift GirCType.swift
[208/296] Compiling libgir2swift GirCallback.swift
[209/296] Compiling libgir2swift GirClass.swift
[210/296] Compiling libgir2swift GirConstant.swift
[211/296] Compiling libgir2swift GirDatatype.swift
[212/301] Compiling libgir2swift Collection+Utilities.swift
[213/301] Compiling libgir2swift Streams.swift
[214/301] Compiling libgir2swift String+Substring.swift
[215/301] Compiling libgir2swift String+Utilities.swift
[216/301] Compiling libgir2swift System.swift
[217/301] Compiling libgir2swift GirEnumeration.swift
[218/301] Compiling libgir2swift GirField.swift
[219/301] Compiling libgir2swift GirFunction.swift
[220/301] Compiling libgir2swift GirInterface.swift
[221/301] Compiling libgir2swift GirMethod.swift
[222/301] Compiling libgir2swift GirProperty.swift
[223/301] Compiling libgir2swift GirRecord.swift
[224/301] Compiling libgir2swift GirSignal.swift
[225/301] Compiling libgir2swift GirThing.swift
[226/301] Compiling libgir2swift GirUnion.swift
[227/301] Compiling libgir2swift girtype+xml.swift
[228/301] Compiling libgir2swift Character+Utilities.swift
[252/301] Emitting module libgir2swift
[254/301] Compiling libgir2swift Gir2Swift.swift
[255/301] Compiling libgir2swift GirType.swift
[256/301] Compiling libgir2swift TypeConversion.swift
[257/301] Compiling libgir2swift TypeReference.swift
[258/301] Compiling libgir2swift GirAlias.swift
[259/301] Compiling libgir2swift GirArgument.swift
[266/301] Compiling libgir2swift XML+Utilities.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[267/301] Compiling libgir2swift generation.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[268/301] Compiling libgir2swift incremental-generation.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[269/301] Compiling libgir2swift planning.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[270/301] Compiling libgir2swift postprocessing.swift
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:146:49: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | try newContent.write(toFile: fileName, atomically: true, encoding: .utf8)
145 | }
146 | outq.async(group: queues) { outputFiles.insert(fileName) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
147 | } catch {
148 | outq.async(group: queues) { print("\(error)", to: &Streams.stdErr) }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:136:18: warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
134 | if outputDirectory == nil { outputString += modulePrefix + preamble }
135 |
136 | func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
| `- warning: concurrently-executed local function 'write(_:to:preamble:append:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
137 | do {
138 | if doAppend && fileManager.fileExists(atPath: fileName) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:206:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
204 | return convert(type)
205 | }.joined(separator: "\n\n")
206 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
207 | }
208 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:218:53: warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
216 | if useAlphaNames {
217 | try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
218 | outq.async(group: queues) { outputFiles.insert(f) }
| `- warning: mutation of captured var 'outputFiles' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
219 | }
220 | }
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:229:49: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
227 | write(aliases, to: f)
228 | } else {
229 | outq.async(group: queues) { outputString += aliases } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
230 | }
231 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:236:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
234 | let f = "\(dir)/\(node)-callbacks.swift"
235 | write(callbacks, to: f)
236 | } else { outq.async(group: queues) { outputString += callbacks } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
237 | }
238 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:243:55: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
241 | let f = "\(dir)/\(node)-constants.swift"
242 | write(constants, to: f)
243 | } else { outq.async(group: queues) { outputString += constants } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
244 | }
245 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:250:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
248 | let f = "\(dir)/\(node)-enumerations.swift"
249 | write(enumerations, to: f)
250 | } else { outq.async(group: queues) { outputString += enumerations } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
251 | }
252 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:257:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
255 | let f = "\(dir)/\(node)-bitfields.swift"
256 | write(bitfields, to: f)
257 | } else { outq.async(group: queues) { outputString += bitfields } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
258 | }
259 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:265:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
263 | let f = "\(dir)/\(node)-unions.swift"
264 | write(unions, to: f)
265 | } else { outq.async(group: queues) { outputString += unions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
266 | }
267 | background.async(group: queues) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:154:18: warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
152 | queue.async(group: queues) { write(string, to: fileName, append: doAppend) }
153 | }
154 | func write<T: GIR.Record>(_ types: [T], using ptrconvert: (String) -> (GIR.Record) -> String) {
| `- warning: concurrently-executed local function 'write(_:using:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | if let dir = outputDirectory {
156 | var output = ""
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:296:54: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
294 | let f = "\(dir)/\(node)-functions.swift"
295 | write(functions, to: f)
296 | } else { outq.async(group: queues) { outputString += functions } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
297 | }
298 | if !(namespace.isEmpty && extensionNamespace.isEmpty) {
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:314:53: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
312 | write(code, to: f, preamble: preamble)
313 | } else {
314 | outq.async(group: queues) { outputString += code }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
315 | }
316 | let indent = " "
/host/spi-builder-workspace/Sources/libgir2swift/utilities/generation.swift:345:63: warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
343 | if let f = outputFile {
344 | write(code, to: f, append: true)
345 | } else { outq.async(group: queues) { outputString += code } }
| `- warning: mutation of captured var 'outputString' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
346 | }
347 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[276/301] Compiling libgir2swift CodeBuilder.swift
[277/301] Compiling libgir2swift c2swift.swift
[278/301] Compiling libgir2swift emit-class.swift
[279/301] Compiling libgir2swift emit-signals.swift
[280/301] Compiling libgir2swift gir+swift.swift
[281/301] Compiling libgir2swift girtypes+swift.swift
[288/302] Wrapping AST for libgir2swift for debugging
[290/304] Emitting module gir2swift
[291/304] Compiling gir2swift main.swift
[292/305] Wrapping AST for gir2swift for debugging
[293/305] Write Objects.LinkFileList
[294/305] Linking gir2swift-tool
[302/306] Wrapping AST for libgir2swift for debugging
[304/308] Emitting module gir2swift
[305/308] Compiling gir2swift main.swift
[306/309] Wrapping AST for gir2swift for debugging
[307/309] Write Objects.LinkFileList
[308/309] Linking gir2swift
Build complete! (98.43s)
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"
},
{
"identity" : "swift-docc-static",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mipalgu/swift-docc-static"
}
],
"manifest_display_name" : "gir2swift",
"name" : "gir2swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "gir2swift",
"targets" : [
"gir2swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "libgir2swift",
"targets" : [
"libgir2swift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gir2swift-plugin",
"targets" : [
"gir2swift-plugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "libgir2swift",
"module_type" : "SwiftTarget",
"name" : "libgir2swift",
"path" : "Sources/libgir2swift",
"product_dependencies" : [
"SwiftLibXML",
"ArgumentParser",
"Yams"
],
"product_memberships" : [
"gir2swift",
"libgir2swift",
"gir2swift-plugin"
],
"sources" : [
"emitting/CodeBuilder.swift",
"emitting/c2swift.swift",
"emitting/emit-class.swift",
"emitting/emit-signals.swift",
"emitting/gir+swift.swift",
"emitting/girtypes+swift.swift",
"emitting/gtk2swiftdoc.swift",
"models/ConversionContext.swift",
"models/Gir+Enums.swift",
"models/Gir+KnowTypeSets.swift",
"models/Gir+KnownTypes.swift",
"models/Gir.swift",
"models/Gir2Swift.swift",
"models/GirType.swift",
"models/TypeConversion.swift",
"models/TypeReference.swift",
"models/gir elements/GirAlias.swift",
"models/gir elements/GirArgument.swift",
"models/gir elements/GirBitfield.swift",
"models/gir elements/GirCType.swift",
"models/gir elements/GirCallback.swift",
"models/gir elements/GirClass.swift",
"models/gir elements/GirConstant.swift",
"models/gir elements/GirDatatype.swift",
"models/gir elements/GirEnumeration.swift",
"models/gir elements/GirField.swift",
"models/gir elements/GirFunction.swift",
"models/gir elements/GirInterface.swift",
"models/gir elements/GirMethod.swift",
"models/gir elements/GirProperty.swift",
"models/gir elements/GirRecord.swift",
"models/gir elements/GirSignal.swift",
"models/gir elements/GirThing.swift",
"models/gir elements/GirUnion.swift",
"models/girtype+xml.swift",
"utilities/Character+Utilities.swift",
"utilities/Collection+Utilities.swift",
"utilities/Streams.swift",
"utilities/String+Substring.swift",
"utilities/String+Utilities.swift",
"utilities/System.swift",
"utilities/XML+Utilities.swift",
"utilities/generation.swift",
"utilities/incremental-generation.swift",
"utilities/planning.swift",
"utilities/postprocessing.swift"
],
"type" : "library"
},
{
"c99name" : "gir2swiftTests",
"module_type" : "SwiftTarget",
"name" : "gir2swiftTests",
"path" : "Tests/gir2swiftTests",
"sources" : [
"gir2swiftTests.swift"
],
"target_dependencies" : [
"libgir2swift"
],
"type" : "test"
},
{
"c99name" : "gir2swift_plugin",
"module_type" : "PluginTarget",
"name" : "gir2swift-plugin",
"path" : "Plugins/gir2swift-plugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"gir2swift-plugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"gir2swift"
],
"type" : "plugin"
},
{
"c99name" : "gir2swift",
"module_type" : "SwiftTarget",
"name" : "gir2swift",
"path" : "Sources/gir2swift",
"product_memberships" : [
"gir2swift",
"gir2swift-plugin"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"libgir2swift"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.