Build Information
Failed to build swift-snapshot, reference main (ef3524), with Swift 6.2 for Wasm on 21 Oct 2025 17:48:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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/mackoj/swift-snapshot
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ef3524c Update run-linux.sh
Cloned https://github.com/mackoj/swift-snapshot.git
Revision (git rev-parse @):
ef3524cf4e0f0923d0e5d7689e73760ca039b9d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mackoj/swift-snapshot.git at main
========================================
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-1":/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/swift-sdk.json
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-format
[1/914] Fetching swift-macro-testing
[915/7295] Fetching swift-macro-testing, swift-dependencies
[2957/19896] Fetching swift-macro-testing, swift-dependencies, swift-format
[3593/22029] Fetching swift-macro-testing, swift-dependencies, swift-format, swift-docc-plugin
[9674/27581] Fetching swift-macro-testing, swift-dependencies, swift-format, swift-docc-plugin, xctest-dynamic-overlay
[27582/43135] Fetching swift-macro-testing, swift-dependencies, swift-format, swift-docc-plugin, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/apple/swift-docc-plugin from cache (0.96s)
Fetched https://github.com/swiftlang/swift-format from cache (0.96s)
Fetching https://github.com/swiftlang/swift-syntax
[13625/28401] Fetching swift-macro-testing, swift-dependencies, xctest-dynamic-overlay, swift-snapshot-testing
[17048/101020] Fetching swift-macro-testing, swift-dependencies, xctest-dynamic-overlay, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (4.20s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (4.20s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (4.22s)
[86721/88173] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.41s)
Fetched https://github.com/swiftlang/swift-syntax from cache (9.81s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (11.76s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/2417] Fetching combine-schedulers
[678/3709] Fetching combine-schedulers, swift-clocks
[2832/4587] Fetching combine-schedulers, swift-clocks, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.50s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.51s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.51s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.25s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.85s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.54s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3554] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.21s)
Computing version for https://github.com/swiftlang/swift-format
Computed https://github.com/swiftlang/swift-format at 602.0.0 (1.12s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-markdown.git
[1/6944] Fetching swift-markdown
[6876/23627] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/apple/swift-markdown.git from cache (1.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.57s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.57s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.56s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.50s)
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.55s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.35s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.7.3 (3.62s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18218] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (2.39s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.0 (2.95s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.80s)
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/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-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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/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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.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/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-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.7.3
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.77s)
[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
[9/129] Write swift-version-24593BA9C3E375BF.txt
[9/129] Compiling cmark-gfm-extensions tasklist.c
[11/129] Compiling cmark-gfm-extensions tagfilter.c
[12/129] Compiling cmark-gfm-extensions table.c
[13/129] Compiling cmark-gfm-extensions strikethrough.c
[14/129] Compiling cmark-gfm-extensions core-extensions.c
[15/131] Compiling cmark-gfm-extensions ext_scanners.c
[16/133] Compiling cmark-gfm-extensions autolink.c
[16/133] Compiling cmark-gfm xml.c
[18/133] Compiling cmark-gfm syntax_extension.c
[19/133] Compiling cmark-gfm utf8.c
[20/133] Compiling cmark-gfm render.c
[21/133] Compiling cmark-gfm plugin.c
[22/133] Compiling cmark-gfm registry.c
[23/133] Compiling cmark-gfm references.c
[24/133] Compiling cmark-gfm plaintext.c
[25/133] Compiling cmark-gfm map.c
[26/133] Compiling cmark-gfm node.c
[27/133] Compiling cmark-gfm linked_list.c
[28/133] Compiling cmark-gfm man.c
[29/133] Compiling cmark-gfm iterator.c
[30/133] Compiling cmark-gfm latex.c
[31/133] Compiling cmark-gfm html.c
[32/133] Compiling cmark-gfm houdini_html_e.c
[33/133] Compiling cmark-gfm inlines.c
[34/133] Compiling cmark-gfm footnotes.c
[35/133] Compiling cmark-gfm houdini_href_e.c
[36/133] Compiling cmark-gfm cmark_ctype.c
[37/133] Compiling cmark-gfm commonmark.c
[38/133] Compiling cmark-gfm houdini_html_u.c
[39/133] Write sources
[60/133] Compiling CAtomic CAtomic.c
[61/133] Compiling _SwiftSyntaxCShims PlatformMutex.c
[62/133] Compiling cmark-gfm cmark.c
[63/133] Compiling cmark-gfm buffer.c
[64/133] Compiling cmark-gfm arena.c
[65/133] Compiling cmark-gfm blocks.c
[66/133] Compiling cmark-gfm scanners.c
[68/156] Emitting module SwiftSyntax600
[69/156] Compiling SwiftSyntax600 Empty.swift
[70/157] Emitting module SwiftSyntax602
[71/157] Compiling SwiftSyntax602 Empty.swift
[72/158] Compiling SwiftSnapshotMacros SwiftSnapshotMacrosPlugin.swift
[73/158] Emitting module ConcurrencyExtras
[76/159] Emitting module SwiftSyntax601
[77/159] Compiling SwiftSyntax601 Empty.swift
[77/160] Compiling cmark-gfm-extensions tasklist.c
[79/173] Compiling cmark-gfm-extensions tagfilter.c
[81/173] Emitting module SwiftSyntax509
[82/173] Compiling SwiftSyntax509 Empty.swift
[83/182] Compiling SwiftSnapshotMacros PeerMacros.swift
[84/182] 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>
[85/182] Compiling SwiftSnapshotMacros SwiftSnapshotMacro.swift
/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>
[88/225] Emitting module SwiftSyntax510
[89/225] Compiling SwiftSyntax510 Empty.swift
[90/225] Compiling ConcurrencyExtras UncheckedSendable.swift
[90/226] Compiling cmark-gfm-extensions strikethrough.c
[93/226] Emitting module IssueReportingPackageSupport
[94/226] Compiling IssueReportingPackageSupport _Test.swift
[94/226] Compiling cmark-gfm-extensions ext_scanners.c
[96/227] Wrapping AST for SwiftSnapshotMacros for debugging
[97/227] Compiling cmark-gfm-extensions autolink.c
[97/227] Write Objects.LinkFileList
/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.
[99/227] Compiling cmark-gfm-extensions core-extensions.c
[99/227] Compiling cmark-gfm-extensions table.c
[99/227] Compiling cmark-gfm utf8.c
[100/227] Compiling ConcurrencyExtras Result.swift
[100/227] Compiling cmark-gfm xml.c
BUILD FAILURE 6.2 wasm