Build Information
Failed to build avro-swift, reference main (806618), with Swift 6.2 for Wasm on 13 Dec 2025 12:17:46 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/flexlixrup/avro-swift.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/flexlixrup/avro-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8066181 fix: revert the optimized impl due to compat issues
Cloned https://github.com/flexlixrup/avro-swift.git
Revision (git rev-parse @):
8066181d166f6492d3f3123330451554943e6199
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/flexlixrup/avro-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/flexlixrup/avro-swift.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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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/apple/swift-syntax.git
[1/73112] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.05s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (9.79s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.62s)
Building for debugging...
[0/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/20] Emitting module AvroMacros
[9/20] Compiling AvroMacros LogicalTypeAttribute.swift
[10/20] Compiling AvroMacros GenerateAvroEnum.swift
[11/20] Compiling AvroMacros GenerateAvroUnion.swift
[12/20] Compiling AvroMacros AvroPlugin.swift
[13/20] Compiling AvroMacros GenerateAvroSchema.swift
[14/21] Wrapping AST for AvroMacros for debugging
[15/21] Write Objects.LinkFileList
[16/21] Linking AvroMacros-tool
[18/42] Compiling Avro AvroMapKeyedEncodingContainer.swift
[19/42] Compiling Avro AvroRecordKeyedEncodingContainer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/44] Emitting module Avro
/host/spi-builder-workspace/Sources/Avro/AvroSchemaDefinition.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// An Avro Schema.
[21/44] Compiling Avro AvroUnkeyedEncodingContainer.swift
[22/44] Compiling Avro AvroWriter.swift
[23/44] Compiling Avro Data+debugBytes.swift
[24/44] Compiling Avro AvroDecoder.swift
[25/44] Compiling Avro AvroMapKeyedDecodingContainer.swift
[26/44] Compiling Avro Macros.swift
[27/44] Compiling Avro fits.swift
[28/44] Compiling Avro AvroError.swift
[29/44] Compiling Avro AvroProtocol.swift
[30/44] Compiling Avro AvroSchemaDefinition.swift
[31/44] Compiling Avro AvroSingleValueEncodingContainer.swift
[32/44] Compiling Avro AvroUnionKeyedEncodingContainer.swift
[33/44] Emitting module Avro
[34/44] Compiling Avro AvroUnionKeyedDecodingContainer.swift
[35/44] Compiling Avro AvroUnkeyedDecodingContainer.swift
[36/44] Compiling Avro AvroEncoder.swift
[37/44] Compiling Avro AvroReader.swift
[38/44] Compiling Avro AvroRecordKeyedDecodingContainer.swift
[39/44] Compiling Avro AvroSingleValueDecodingContainer.swift
[40/45] Compiling Avro AvroError.swift
/host/spi-builder-workspace/Sources/Avro/AvroSchemaDefinition.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /// An Avro Schema.
BUILD FAILURE 6.2 wasm