Build Information
Failed to build swift-snapshot, reference 0.1.2 (0c7117), with Swift 6.1 for Wasm on 7 Oct 2025 16:27:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/swift-snapshot.git
Reference: 0.1.2
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/mackoj/swift-snapshot
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at 0c71170 Fix file name sanitization for generic types with invalid characters (#31)
Cloned https://github.com/mackoj/swift-snapshot.git
Revision (git rev-parse @):
0c71170c79e11daca97d8bab4b2bd0d5ca05ff19
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mackoj/swift-snapshot.git at 0.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mackoj/swift-snapshot.git
https://github.com/mackoj/swift-snapshot.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
},
{
"identity" : "swift-format",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-format"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-snapshot",
"name" : "swift-snapshot",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "SwiftSnapshot",
"targets" : [
"SwiftSnapshot"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftSnapshotMacros",
"targets" : [
"SwiftSnapshotMacros"
],
"type" : {
"macro" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SwiftSnapshotTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSnapshotTests",
"path" : "Tests/SwiftSnapshotTests",
"product_dependencies" : [
"SnapshotTesting",
"InlineSnapshotTesting"
],
"sources" : [
"DependencyInjectionTests.swift",
"EditorConfigIntegrationTests.swift",
"FormattingConfigTests.swift",
"GenericCollectionTests.swift",
"IntegerTypesTests.swift",
"IntegrationTests.swift",
"ManualSanitizationVerification.swift",
"PathResolverTests.swift",
"PerformanceTests.swift",
"RenderOptionsTests.swift",
"SnapshotRenderContextTests.swift",
"SnapshotRendererRegistryTests.swift",
"Support/SnapshotTests.swift",
"SwiftSnapshotConfigTests.swift",
"SwiftSnapshotErrorTests.swift",
"SwiftSnapshotTests.swift",
"VariableNameSanitizationTests.swift"
],
"target_dependencies" : [
"SwiftSnapshot"
],
"type" : "test"
},
{
"c99name" : "SwiftSnapshotMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSnapshotMacrosTests",
"path" : "Tests/SwiftSnapshotMacrosTests",
"product_dependencies" : [
"InlineSnapshotTesting",
"MacroTesting",
"SwiftCompilerPlugin"
],
"sources" : [
"IntegrationTests.swift",
"Support/SnapshotTests.swift",
"SwiftSnapshotMacrosTests.swift"
],
"target_dependencies" : [
"SwiftSnapshotMacros",
"SwiftSnapshot"
],
"type" : "test"
},
{
"c99name" : "SwiftSnapshotMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftSnapshotMacros",
"path" : "Sources/SwiftSnapshotMacros",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin",
"SwiftDiagnostics"
],
"product_memberships" : [
"SwiftSnapshot",
"SwiftSnapshotMacros"
],
"sources" : [
"PeerMacros.swift",
"SwiftSnapshotMacro.swift",
"SwiftSnapshotMacrosPlugin.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftSnapshotCore",
"module_type" : "SwiftTarget",
"name" : "SwiftSnapshotCore",
"path" : "Sources/SwiftSnapshotCore",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftParser",
"SwiftFormat",
"IssueReporting",
"Dependencies"
],
"product_memberships" : [
"SwiftSnapshot"
],
"sources" : [
"CodeFormatter.swift",
"FormatConfigLoader.swift",
"PathResolver.swift",
"RenderOptions.swift",
"SnapshotRenderContext.swift",
"SnapshotRendererRegistry.swift",
"SwiftSnapshot.swift",
"SwiftSnapshotConfig.swift",
"SwiftSnapshotError.swift",
"SwiftSnapshotRuntime.swift",
"ValueRenderer.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftSnapshot",
"module_type" : "SwiftTarget",
"name" : "SwiftSnapshot",
"path" : "Sources/SwiftSnapshot",
"product_memberships" : [
"SwiftSnapshot"
],
"sources" : [
"Exports.swift",
"SwiftSnapshotMacros.swift"
],
"target_dependencies" : [
"SwiftSnapshotCore",
"SwiftSnapshotMacros"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-format
[1/914] Fetching swift-macro-testing
[915/3047] Fetching swift-macro-testing, swift-docc-plugin
[1150/9417] Fetching swift-macro-testing, swift-docc-plugin, swift-dependencies
[3953/21947] Fetching swift-macro-testing, swift-docc-plugin, swift-dependencies, swift-format
[6889/27499] Fetching swift-macro-testing, swift-docc-plugin, swift-dependencies, swift-format, xctest-dynamic-overlay
Fetched https://github.com/swiftlang/swift-format from cache (0.73s)
Fetching https://github.com/swiftlang/swift-syntax
[1/15543] Fetching swift-snapshot-testing
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.80s)
[6219/87971] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (2.74s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (2.74s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.84s)
Fetched https://github.com/swiftlang/swift-syntax from cache (5.03s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (9.49s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2417] Fetching combine-schedulers
[2418/3295] Fetching combine-schedulers, swift-concurrency-extras
[3296/4587] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.44s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.53s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.53s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (3.28s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.55s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.60s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.06s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3540] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.00s)
Computing version for https://github.com/swiftlang/swift-format
Computed https://github.com/swiftlang/swift-format at 602.0.0 (0.63s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16643] Fetching swift-argument-parser
[667/23582] Fetching swift-argument-parser, swift-markdown
Fetched https://github.com/apple/swift-markdown.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.53s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.57s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.75s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.40s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.00s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.7.1 (0.65s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18212] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.97s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.0 (1.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.49s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.7.1
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.6.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-format
Working copy of https://github.com/swiftlang/swift-format resolved at 602.0.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Lint Source Code
[4/4] Compiling plugin Format Source Code
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/149] Write sources
[7/149] Compiling cmark-gfm-extensions ext_scanners.c
[8/149] Compiling cmark-gfm-extensions strikethrough.c
[9/149] Compiling cmark-gfm-extensions tagfilter.c
[10/149] Compiling cmark-gfm-extensions tasklist.c
[11/149] Compiling cmark-gfm-extensions core-extensions.c
[12/149] Compiling cmark-gfm xml.c
[13/149] Compiling cmark-gfm-extensions autolink.c
[14/149] Compiling cmark-gfm-extensions table.c
[15/149] Compiling cmark-gfm render.c
[16/149] Compiling cmark-gfm syntax_extension.c
[17/149] Compiling cmark-gfm registry.c
[18/149] Compiling cmark-gfm references.c
[19/149] Compiling cmark-gfm plugin.c
[20/149] Compiling cmark-gfm plaintext.c
[21/149] Compiling cmark-gfm linked_list.c
[22/149] Compiling cmark-gfm map.c
[23/149] Compiling cmark-gfm iterator.c
[24/149] Compiling cmark-gfm man.c
[25/149] Compiling cmark-gfm node.c
[26/149] Compiling cmark-gfm latex.c
[27/149] Compiling cmark-gfm html.c
[28/149] Compiling cmark-gfm houdini_html_e.c
[29/149] Compiling cmark-gfm utf8.c
[30/149] Compiling cmark-gfm houdini_html_u.c
[31/149] Compiling cmark-gfm cmark_ctype.c
[32/149] Compiling cmark-gfm houdini_href_e.c
[33/149] Compiling cmark-gfm footnotes.c
[34/149] Compiling cmark-gfm buffer.c
[35/149] Write sources
[36/149] Compiling cmark-gfm commonmark.c
[36/149] Write sources
[63/149] Compiling _SwiftSyntaxCShims PlatformMutex.c
[64/149] Compiling cmark-gfm cmark.c
[65/149] Compiling cmark-gfm inlines.c
[66/149] Compiling cmark-gfm-extensions tasklist.c
[67/149] Compiling cmark-gfm arena.c
[68/149] Compiling cmark-gfm-extensions tagfilter.c
[69/149] Compiling cmark-gfm-extensions strikethrough.c
[70/149] Compiling cmark-gfm scanners.c
[71/149] Compiling cmark-gfm-extensions table.c
[72/149] Compiling cmark-gfm blocks.c
[73/149] Compiling cmark-gfm-extensions ext_scanners.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
22 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
22 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
30 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
30 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[74/149] Compiling cmark-gfm-extensions core-extensions.c
[74/149] Compiling cmark-gfm-extensions autolink.c
[74/149] Compiling cmark-gfm xml.c
[74/149] Compiling cmark-gfm scanners.c
[74/149] Compiling cmark-gfm utf8.c
[74/149] Compiling cmark-gfm syntax_extension.c
[74/149] Write swift-version-24593BA9C3E375BF.txt
[74/149] Compiling CAtomic CAtomic.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Lint Source Code
[4/4] Compiling plugin Format Source Code
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/81] Write sources
[10/81] Compiling CAtomic CAtomic.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
22 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
22 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
30 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
30 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[11/81] Compiling cmark-gfm-extensions core-extensions.c
[11/81] Compiling cmark-gfm xml.c
[11/81] Compiling cmark-gfm scanners.c
[11/81] Compiling cmark-gfm render.c
[11/81] Compiling cmark-gfm-extensions autolink.c
[11/81] Compiling cmark-gfm utf8.c
[11/81] Compiling cmark-gfm syntax_extension.c
[11/81] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm