The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build WasmTransformer, reference main (d04b31), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 02:54:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/WasmTransformer.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/swiftwasm/WasmTransformer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d04b31f Add stripIf closure to dynamically determine which custom section should be stripped
Cloned https://github.com/swiftwasm/WasmTransformer.git
Revision (git rev-parse @):
d04b31f61b6f528a9a96ebfe4fa4275e333eba82
SUCCESS checkout https://github.com/swiftwasm/WasmTransformer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftwasm/WasmTransformer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.0 (1.37s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/32] Compiling WasmTransformer SizeProfiler.swift
[7/32] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[8/32] Compiling WasmTransformer LEB128.swift
[9/32] Compiling WasmTransformer OutputWriter.swift
[10/32] Compiling WasmTransformer CodeSectionReader.swift
[11/34] Emitting module WasmTransformer
[12/34] Compiling WasmTransformer BinaryFormat.swift
[13/34] Compiling WasmTransformer ByteEncodable.swift
[14/34] Compiling WasmTransformer InputByteStream.swift
[15/34] Compiling WasmTransformer CustomSectionStripper.swift
[16/34] Compiling WasmTransformer I64ImportTransformer.swift
[17/34] Compiling WasmTransformer ModuleReader.swift
[18/34] Compiling WasmTransformer TypeSectionReader.swift
[19/34] Compiling WasmTransformer VectorSectionReader.swift
[20/34] Compiling WasmTransformer ElementSectionReader.swift
[21/34] Compiling WasmTransformer FunctionSectionReader.swift
[22/34] Compiling WasmTransformer ImportSectionReader.swift
[23/34] Compiling WasmTransformer Sections.swift
[24/34] Compiling WasmTransformer Trampoline.swift
[25/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/34] Emitting module ArgumentParserToolInfo
[27/35] Wrapping AST for ArgumentParserToolInfo for debugging
[29/69] Compiling ArgumentParser ArgumentSet.swift
[30/69] Compiling ArgumentParser CommandParser.swift
[31/70] Wrapping AST for WasmTransformer for debugging
[33/70] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[34/70] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[35/70] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[36/70] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[37/70] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/74] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[41/74] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[42/74] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[43/74] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[44/74] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[45/74] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[46/74] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[47/74] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[48/74] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[49/74] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[50/74] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[51/74] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[52/74] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[53/74] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[54/74] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[55/74] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[56/74] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[57/74] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[58/74] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[59/74] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[60/74] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[61/74] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[62/74] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[63/74] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[64/74] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[65/74] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[66/74] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[67/74] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[68/74] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[69/74] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
[70/74] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:29: error: no such module 'Foundation'
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                             `- error: no such module 'Foundation'
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
BUILD FAILURE 6.2 wasm