Build Information
Failed to build DynamicJSON, reference main (2ff3fe), with Swift 6.2 for Linux on 9 Oct 2026 13:48:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-dynamicjson.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/objecthub/swift-dynamicjson
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2ff3fe1 Fix docc.
Cloned https://github.com/objecthub/swift-dynamicjson.git
Revision (git rev-parse @):
2ff3fe1e3e86d1c32367170db0647b97f95e2a36
SUCCESS checkout https://github.com/objecthub/swift-dynamicjson.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/objecthub/swift-dynamicjson.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:24009fa1488c01937630ee3297a7a7a1872c773069724929dff85071fefc3743
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/47] Emitting module DynamicJSON
[6/51] Compiling DynamicJSON JSONStreamWriter.swift
[7/51] Compiling DynamicJSON JSONValueStream.swift
[8/51] Compiling DynamicJSON PartialJSONStream.swift
[9/51] Compiling DynamicJSON ServerSentEvents.swift
[10/51] Compiling DynamicJSON JSONType.swift
[11/51] Compiling DynamicJSON JSONSchemaDraft2020.swift
[12/51] Compiling DynamicJSON JSONSchemaFormatValidators.swift
[13/51] Compiling DynamicJSON JSONSchemaIdentifier.swift
[14/51] Compiling DynamicJSON JSONSchemaProvider.swift
[15/51] Compiling DynamicJSON JSONSchemaRegistry.swift
[16/51] Compiling DynamicJSON LocatedJSON.swift
[17/51] Compiling DynamicJSON Indirect.swift
[18/51] Compiling DynamicJSON JSONExtensions.swift
[19/51] Compiling DynamicJSON NSNumber.swift
[20/51] Compiling DynamicJSON JSON+Streaming.swift
[21/51] Compiling DynamicJSON JSONByteStream.swift
[22/51] Compiling DynamicJSON JSONPartialParser.swift
[23/51] Compiling DynamicJSON JSONStreamFormat.swift
[24/51] Compiling DynamicJSON JSONStreamFramer.swift
[25/51] Compiling DynamicJSON JSONPatchMaker.swift
[26/51] Compiling DynamicJSON JSONPatchOperation.swift
[27/51] Compiling DynamicJSON JSONPath.swift
[28/51] Compiling DynamicJSON JSONPathEnvironment.swift
[29/51] Compiling DynamicJSON JSONPathEvaluator.swift
[30/51] Compiling DynamicJSON JSONSchemaResource.swift
[31/51] Compiling DynamicJSON JSONSchemaValidationContext.swift
[32/51] Compiling DynamicJSON JSONSchemaValidationResult.swift
[33/51] Compiling DynamicJSON JSONSchemaValidator.swift
[34/51] Compiling DynamicJSON JSON+StreamWriting.swift
[35/51] Compiling DynamicJSON JSON.swift
[36/51] Compiling DynamicJSON JSONExtraction.swift
[37/51] Compiling DynamicJSON JSONLenientParser.swift
[38/51] Compiling DynamicJSON JSONLocation.swift
[39/51] Compiling DynamicJSON JSONPatch.swift
[40/51] Compiling DynamicJSON JSONPathParser.swift
[41/51] Compiling DynamicJSON JSONPointer.swift
[42/51] Compiling DynamicJSON JSONReference.swift
[43/51] Compiling DynamicJSON JSONSchema.swift
[44/51] Compiling DynamicJSON JSONSchemaDialect.swift
[45/52] Wrapping AST for DynamicJSON for debugging
[47/62] Compiling WikiWatch Schema.swift
[48/63] Compiling WikiWatch Pipeline.swift
/host/spi-builder-workspace/Sources/WikiWatch/Pipeline.swift:239:16: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
237 | pipeline.updateRate()
238 | print(dashboard.render(pipeline.stats), terminator: "")
239 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
240 | lastRender = Date()
241 | }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/WikiWatch/Pipeline.swift:258:78: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
256 | let stats = pipeline.stats
257 | fputs("\(stats.received) events received, \(stats.matched) matched, " +
258 | "\(stats.invalid) invalid, \(stats.canary) canary events dropped\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
259 | if let error = stats.lastError, stats.invalid > 0 {
260 | fputs("last validation problem: \(error)\n", stderr)
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/WikiWatch/Pipeline.swift:260:50: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
258 | "\(stats.invalid) invalid, \(stats.canary) canary events dropped\n", stderr)
259 | if let error = stats.lastError, stats.invalid > 0 {
260 | fputs("last validation problem: \(error)\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
261 | }
262 | }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
[49/63] Compiling JSONPathTool main.swift
[50/63] Emitting module JSONPathTool
[51/64] Compiling WikiWatch main.swift
/host/spi-builder-workspace/Sources/WikiWatch/main.swift:42:9: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
40 |
41 | // Make sure that output appears line by line, even if standard output is a pipe.
42 | setvbuf(stdout, nil, _IOLBF, 0)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
43 |
44 | do {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/WikiWatch/main.swift:65:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
63 | }
64 | } catch {
65 | fputs("error: \(error.localizedDescription)\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
66 | exit(1)
67 | }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
[53/64] Compiling WikiWatch Options.swift
[53/64] Wrapping AST for JSONPathTool for debugging
[54/64] Write Objects.LinkFileList
[56/64] Compiling WikiWatch Trickle.swift
[57/64] Compiling WikiWatch Stats.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/64] Compiling WikiWatch EventSource.swift
[59/64] Emitting module WikiWatch
/host/spi-builder-workspace/Sources/WikiWatch/main.swift:42:9: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
40 |
41 | // Make sure that output appears line by line, even if standard output is a pipe.
42 | setvbuf(stdout, nil, _IOLBF, 0)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
43 |
44 | do {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/WikiWatch/main.swift:65:51: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
63 | }
64 | } catch {
65 | fputs("error: \(error.localizedDescription)\n", stderr)
| `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
66 | exit(1)
67 | }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
[60/64] Compiling WikiWatch Dashboard.swift
/host/spi-builder-workspace/Sources/WikiWatch/Dashboard.swift:42:29: error: cannot convert value of type 'Int32' to expected argument type 'UInt'
40 | static var width: Int {
41 | var size = winsize()
42 | if ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0 && size.ws_col > 0 {
| `- error: cannot convert value of type 'Int32' to expected argument type 'UInt'
43 | return Int(size.ws_col)
44 | }
[60/64] Linking JSONPathTool
BUILD FAILURE 6.2 linux