Build Information
Failed to build swift-snapshot, reference 0.1.2 (0c7117), with Swift 6.2 for Wasm on 7 Oct 2025 16:32:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 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.2
Building package at path: $PWD
https://github.com/mackoj/swift-snapshot.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-format
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/6370] Fetching swift-dependencies
[638/8503] Fetching swift-dependencies, swift-docc-plugin
[1383/14055] Fetching swift-dependencies, swift-docc-plugin, xctest-dynamic-overlay
[3268/26585] Fetching swift-dependencies, swift-docc-plugin, xctest-dynamic-overlay, swift-format
[14645/99013] Fetching swift-dependencies, swift-docc-plugin, xctest-dynamic-overlay, swift-format, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
[23598/96880] Fetching swift-dependencies, xctest-dynamic-overlay, swift-format, swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing
[33145/97794] Fetching swift-dependencies, xctest-dynamic-overlay, swift-format, swift-syntax, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.77s)
[34592/96880] Fetching swift-dependencies, xctest-dynamic-overlay, swift-format, swift-syntax
Fetched https://github.com/swiftlang/swift-format from cache (2.27s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.24s)
[18683/78798] Fetching swift-dependencies, swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-dependencies from cache (9.42s)
Fetched https://github.com/swiftlang/swift-syntax from cache (9.54s)
[1/15543] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.87s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (14.07s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
[1/878] Fetching swift-concurrency-extras
[247/3295] Fetching swift-concurrency-extras, combine-schedulers
[658/4587] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.61s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.63s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.34s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.65s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.65s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (0.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.31s)
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.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.31s)
Computing version for https://github.com/swiftlang/swift-format
Computed https://github.com/swiftlang/swift-format at 602.0.0 (0.90s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6939] Fetching swift-markdown
[2777/23582] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/apple/swift-markdown.git from cache (1.43s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.44s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.45s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.63s)
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.56s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.18s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.7.2 (3.37s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18212] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (2.16s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.0 (3.13s)
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.73s)
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.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
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax 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/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-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
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/swiftlang/swift-format
Working copy of https://github.com/swiftlang/swift-format resolved at 602.0.0
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/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.0
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/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/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/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.67s)
[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/129] Write sources
[12/129] Compiling cmark-gfm-extensions tagfilter.c
[13/129] Compiling cmark-gfm-extensions tasklist.c
[14/129] Write swift-version-24593BA9C3E375BF.txt
[15/129] Compiling cmark-gfm-extensions ext_scanners.c
[16/129] Compiling cmark-gfm-extensions strikethrough.c
[17/129] Compiling cmark-gfm-extensions core-extensions.c
[18/129] Compiling cmark-gfm xml.c
[19/129] Compiling cmark-gfm syntax_extension.c
[20/129] Compiling cmark-gfm-extensions autolink.c
[21/129] Compiling cmark-gfm-extensions table.c
[22/133] Compiling cmark-gfm render.c
[23/133] Compiling cmark-gfm plugin.c
[24/133] Compiling cmark-gfm references.c
[25/133] Compiling cmark-gfm registry.c
[26/133] Compiling cmark-gfm plaintext.c
[27/133] Compiling cmark-gfm linked_list.c
[28/133] Compiling cmark-gfm latex.c
[29/133] Compiling cmark-gfm utf8.c
[30/133] Compiling cmark-gfm man.c
[31/133] Compiling cmark-gfm map.c
[32/133] Compiling cmark-gfm iterator.c
[33/133] Compiling cmark-gfm houdini_html_e.c
[34/133] Compiling cmark-gfm node.c
[35/133] Compiling cmark-gfm html.c
[36/133] Compiling cmark-gfm houdini_html_u.c
[37/133] Compiling cmark-gfm houdini_href_e.c
[38/133] Compiling cmark-gfm cmark_ctype.c
[39/133] Compiling cmark-gfm footnotes.c
[40/133] Compiling cmark-gfm commonmark.c
[41/133] Compiling cmark-gfm cmark.c
[42/133] Write sources
[45/133] Compiling cmark-gfm buffer.c
[45/133] Write sources
[63/133] Compiling _SwiftSyntaxCShims PlatformMutex.c
[63/133] Compiling cmark-gfm inlines.c
[65/133] Compiling CAtomic CAtomic.c
[66/133] Compiling cmark-gfm arena.c
[67/133] Compiling cmark-gfm scanners.c
[68/138] Compiling cmark-gfm blocks.c
[70/143] Emitting module SwiftSyntax601
[71/143] Emitting module SwiftSyntax602
[72/145] Emitting module IssueReportingPackageSupport
[73/208] Compiling SwiftSyntax600 Empty.swift
[74/208] Emitting module SwiftSyntax600
[75/208] Compiling SwiftSyntax602 Empty.swift
[76/210] Compiling IssueReportingPackageSupport _Test.swift
[77/211] Emitting module SwiftSyntax510
[78/211] Compiling SwiftSyntax510 Empty.swift
[80/212] Compiling SwiftSnapshotMacros PeerMacros.swift
[84/212] Emitting module SwiftSyntax509
[85/212] Compiling SwiftSyntax509 Empty.swift
[87/213] Compiling SwiftSyntax601 Empty.swift
[88/213] Compiling Markdown BasicBlockContainer.swift
[89/213] Compiling Markdown BasicInlineContainer.swift
[90/213] Compiling Markdown BlockContainer.swift
[91/213] Compiling Markdown BlockMarkup.swift
[92/213] Compiling Markdown InlineContainer.swift
[93/213] Compiling Markdown InlineMarkup.swift
[94/213] Compiling Markdown ListItemContainer.swift
[95/213] Compiling Markdown AtomicCounter.swift
[96/221] Compiling SwiftSnapshotMacros SwiftSnapshotMacrosPlugin.swift
[96/222] Compiling cmark-gfm-extensions tagfilter.c
[98/225] Compiling cmark-gfm-extensions tasklist.c
[99/246] Compiling cmark-gfm-extensions strikethrough.c
[100/252] Compiling cmark-gfm-extensions table.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.
[101/252] Compiling cmark-gfm-extensions core-extensions.c
[101/252] Compiling cmark-gfm-extensions autolink.c
[101/252] Compiling cmark-gfm-extensions ext_scanners.c
[102/252] Emitting module SwiftSnapshotMacros
/host/spi-builder-workspace/Sources/SwiftSnapshotMacros/SwiftSnapshotMacro.swift:7:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
5 |
6 | /// Main macro that generates snapshot metadata and helper methods.
7 | public struct SwiftSnapshotMacro: MemberMacro, ExtensionMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
8 | public static func expansion(
9 | of node: AttributeSyntax,
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 | public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 wasm