Build Information
Failed to build AMF, reference master (065610), with Swift 6.2 for Wasm on 17 Jun 2025 16:12:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mavisbroadcast/amf.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/mavisbroadcast/amf
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0656105 Upgrade to Swift 5.0
Cloned https://github.com/mavisbroadcast/amf.git
Revision (git rev-parse @):
065610534faea6efc549b0bb20fadbb0633844a7
SUCCESS checkout https://github.com/mavisbroadcast/amf.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mavisbroadcast/amf.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/27] Emitting module AMF
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[4/30] Compiling AMF Box.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[5/30] Compiling AMF Endianness.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[6/30] Compiling AMF FixedWidthInteger+Bytes.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[7/30] Compiling AMF AMF3SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[8/30] Compiling AMF AMF3UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[9/30] Compiling AMF AMF3Encoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[10/30] Compiling AMF AMF0SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[11/30] Compiling AMF AMF0UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[12/30] Compiling AMF AMF3Markers.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[13/30] Compiling AMF AMF3ReferenceTable.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[14/30] Compiling AMF AMF3TraitsInfo.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[15/30] Compiling AMF AMF3Decoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[16/30] Compiling AMF AMF3KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[17/30] Compiling AMF AMF3KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[18/30] Compiling AMF AMF3SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[19/30] Compiling AMF AMF3UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[20/30] Compiling AMF UInt32+UInt29.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[21/30] Compiling AMF AMFEncoding.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[22/30] Compiling AMF AnyCodingKey.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[23/30] Compiling AMF AMF0Markers.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[24/30] Compiling AMF AMF0ReferenceTable.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[25/30] Compiling AMF AMF0Decoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[26/30] Compiling AMF AMF0KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[27/30] Compiling AMF AMF0SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[28/30] Compiling AMF AMF0UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[29/30] Compiling AMF AMF0Encoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
[30/30] Compiling AMF AMF0KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0ReferenceTable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class AMF0DecodingReferenceTable {
BUILD FAILURE 6.2 wasm