Build Information
Failed to build AMF, reference 0.0.1 (a8221b), with Swift 6.2 for Wasm on 17 Jun 2025 16:17:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.0.1
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
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at a8221b2 Generate LinuxMain
Cloned https://github.com/mavisbroadcast/amf.git
Revision (git rev-parse @):
a8221b27ce14b3220ad513197b93ea03bda111ba
SUCCESS checkout https://github.com/mavisbroadcast/amf.git at 0.0.1
========================================
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-4609320-1":/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/26] Emitting module AMF
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[4/26] Compiling AMF AMF0Markers.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[5/26] Compiling AMF AMF0ReferenceTable.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[6/26] Compiling AMF AMF0Decoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[7/26] Compiling AMF AMF0KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[8/29] Compiling AMF Box.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[9/29] Compiling AMF Endianess.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[10/29] Compiling AMF FixedWidthInteger+Bytes.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[11/29] Compiling AMF AMF0SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[12/29] Compiling AMF AMF0UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[13/29] Compiling AMF AMF0Encoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[14/29] Compiling AMF AMF0KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[15/29] Compiling AMF AMF3Encoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[16/29] Compiling AMF AMF3KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[17/29] Compiling AMF AMF3SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[18/29] Compiling AMF AMF3KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[19/29] Compiling AMF AMF3SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[20/29] Compiling AMF AMF3UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[21/29] Compiling AMF AMF0SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[22/29] Compiling AMF AMF0UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[23/29] Compiling AMF AMF3Markers.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[24/29] Compiling AMF AMF3ReferenceTable.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[25/29] Compiling AMF AMF3TraitsInfo.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[26/29] Compiling AMF AMF3Decoder.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[27/29] Compiling AMF AMF3UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[28/29] Compiling AMF UInt32+UInt29.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
[29/29] Compiling AMF AnyCodingKey.swift
/host/spi-builder-workspace/Sources/AMF0/AMF0Markers.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum AMF0Marker: UInt8 {
BUILD FAILURE 6.2 wasm