Build Information
Failed to build Sourcery, reference master (44a02f
), with Swift 6.2 (beta) for Wasm on 5 Sep 2025 00:11:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzysztofzablocki/sourcery.git
Reference: master
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/krzysztofzablocki/sourcery
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 44a02f6 Merge pull request #1436 from Cyberbeni/arm64-docker
Cloned https://github.com/krzysztofzablocki/sourcery.git
Revision (git rev-parse @):
44a02f6fe56c092f8a56d3f25320c7b542eef058
SUCCESS checkout https://github.com/krzysztofzablocki/sourcery.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/krzysztofzablocki/sourcery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-package-manager.git
[1/160753] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager.git from cache (23.89s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29209] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.86s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71850] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.10s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6944] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.54s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35519] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.42s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
[1/171] Fetching swift-toolchain-sqlite
[20/6632] Fetching swift-toolchain-sqlite, swift-certificates
[4285/11573] Fetching swift-toolchain-sqlite, swift-certificates, swift-system
[5361/28967] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections
[5427/45341] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections, swift-crypto
[13450/61033] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
[11994/54572] Fetching swift-toolchain-sqlite, swift-system, swift-collections, swift-crypto, swift-argument-parser
Fetching https://github.com/Quick/Nimble.git
[31131/74207] Fetching swift-toolchain-sqlite, swift-system, swift-collections, swift-crypto, swift-argument-parser, nimble
Fetched https://github.com/apple/swift-system.git from cache (2.38s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.40s)
Fetching https://github.com/Quick/Quick.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.42s)
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/art-divin/StencilSwiftKit.git
Fetched https://github.com/apple/swift-collections.git from cache (2.50s)
Fetching https://github.com/kylef/PathKit.git
[1/1438] Fetching pathkit
[951/16279] Fetching pathkit, quick
[3962/39812] Fetching pathkit, quick, xcodeproj
[9295/42934] Fetching pathkit, quick, xcodeproj, stencilswiftkit
Fetched https://github.com/apple/swift-crypto.git from cache (4.28s)
Fetching https://github.com/kylef/Commander.git
Fetched https://github.com/Quick/Nimble.git from cache (4.50s)
Fetched https://github.com/kylef/PathKit.git from cache (2.67s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/Quick/Quick.git from cache (2.94s)
[24470/26655] Fetching xcodeproj, stencilswiftkit
[24815/28243] Fetching xcodeproj, stencilswiftkit, commander
Fetched https://github.com/tuist/XcodeProj.git from cache (3.32s)
[1488/4710] Fetching stencilswiftkit, commander
[4711/15846] Fetching stencilswiftkit, commander, yams
Fetched https://github.com/kylef/Commander.git from cache (2.12s)
[5350/14258] Fetching stencilswiftkit, yams
Fetched https://github.com/art-divin/StencilSwiftKit.git from cache (4.78s)
[11136/11136] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (9.21s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.6 (0.63s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.33s)
Computing version for https://github.com/art-divin/StencilSwiftKit.git
Computed https://github.com/art-divin/StencilSwiftKit.git at 2.10.4 (0.77s)
Fetching https://github.com/art-divin/Stencil.git
[1/3424] Fetching stencil
Fetched https://github.com/art-divin/Stencil.git from cache (0.97s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.00s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (3.38s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (2.03s)
Computing version for https://github.com/art-divin/Stencil.git
Computed https://github.com/art-divin/Stencil.git at 0.15.3 (1.14s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.50s)
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.69s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (2.26s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.49s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (1.05s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.64s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.90s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.51s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.6 (0.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.49s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.70s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/art-divin/StencilSwiftKit.git
Working copy of https://github.com/art-divin/StencilSwiftKit.git resolved at 2.10.4
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at release/6.2 (8dbab43)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/art-divin/Stencil.git
Working copy of https://github.com/art-divin/Stencil.git resolved at 0.15.3
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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.2 (952ed9c)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at release/6.2 (5a993c8)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at release/6.2 (d80e185)
Creating working copy for https://github.com/swiftlang/swift-package-manager.git
Working copy of https://github.com/swiftlang/swift-package-manager.git resolved at 3c17da7 (3c17da7)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
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.2
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoHashable.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoLenses.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoMockable.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoCases.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/LinuxMain.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoEquatable.swift
/host/spi-builder-workspace/Plugins/SourceryCommandPlugin/SourceryCommandPlugin.swift:72:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | #endif
71 |
72 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
73 | public var errorDescription: String? { return self }
74 | }
/host/spi-builder-workspace/Plugins/SourceryCommandPlugin/SourceryCommandPlugin.swift:72:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | #endif
71 |
72 | extension String: LocalizedError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
73 | public var errorDescription: String? { return self }
74 | }
[1/1] Compiling plugin SourceryCommandPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/1149] Write sources
[31/1149] Write swift-version-24593BA9C3E375BF.txt
[32/1149] Compiling _SwiftSyntaxCShims PlatformMutex.c
[33/1151] Compiling libllbuild C-API.cpp
[34/1153] Compiling libllbuild Core-C-API.cpp
[34/1153] Compiling libllbuild BuildKey-C-API.cpp
[36/1171] Compiling libllbuild BuildValue-C-API.cpp
[37/1171] Compiling libllbuild BuildDB-C-API.cpp
[37/1171] Write sources
[42/1176] Compiling libllbuild Ninja-C-API.cpp
[42/1176] Write sources
[45/1176] Compiling TSCclibc strerror.c
[46/1176] Compiling TSCclibc process.c
[47/1176] Compiling TSCclibc libc.c
[47/1176] Write sources
[47/1176] Copying ejs.js
[47/1176] Write sources
[90/1176] Compiling writer.c
[91/1178] Compiling libllbuild BuildSystem-C-API.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/1180] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[94/1181] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[95/1181] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/1181] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[97/1181] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[98/1181] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[99/1181] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[100/1181] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[101/1181] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[102/1181] Compiling CodableContext AutoCodable.swift
[103/1181] Emitting module CodableContext
[104/1181] Compiling CodableContext AutoCodable.generated.swift
[105/1181] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[106/1181] Emitting module PathKit
[107/1181] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[108/1181] Emitting module TSCLibc
BUILD FAILURE 6.2 wasm