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 ASN1Codable, reference main (ecf690), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:31:17 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/ASN1Codable.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/PADL/ASN1Codable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ecf6903 use PADL branch of Echo, uses new swift-atomics
Cloned https://github.com/PADL/ASN1Codable.git
Revision (git rev-parse @):
ecf6903cf2cec31b6c5f11956ce0cbe716d8dc20
SUCCESS checkout https://github.com/PADL/ASN1Codable.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/ASN1Codable.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
Fetching https://github.com/PADL/ASN1Kit
[1/1030] Fetching asn1kit
Fetched https://github.com/PADL/ASN1Kit from cache (0.90s)
Fetching https://github.com/PADL/Echo
[1/868] Fetching echo
Fetched https://github.com/PADL/Echo from cache (0.21s)
Fetching https://github.com/mkrd/Swift-BigInt
[1/1854] Fetching swift-bigint
Fetched https://github.com/mkrd/Swift-BigInt from cache (0.40s)
Fetching http://github.com/Carthage/Commandant
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/SwiftCommon/DataKit.git
[1/1224] Fetching datakit
[14/3553] Fetching datakit, commandant
[15/4335] Fetching datakit, commandant, anycodable
[2224/6132] Fetching datakit, commandant, anycodable, swift-atomics
Fetched https://github.com/Flight-School/AnyCodable from cache (0.57s)
[5081/5350] Fetching datakit, commandant, swift-atomics
Fetched http://github.com/Carthage/Commandant from cache (0.58s)
[2788/3021] Fetching datakit, swift-atomics
Fetched https://github.com/SwiftCommon/DataKit.git from cache (0.58s)
[1636/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (1.77s)
Fetching https://github.com/Quick/Nimble
[1/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.38s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (2.64s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.10s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.83s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.07s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.37s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.58s)
Creating working copy for https://github.com/PADL/ASN1Kit
Working copy of https://github.com/PADL/ASN1Kit resolved at lhoward/pr (9ed7b3b)
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/mkrd/Swift-BigInt
Working copy of https://github.com/mkrd/Swift-BigInt resolved at master (d09d98b)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/PADL/Echo
Working copy of https://github.com/PADL/Echo resolved at fix-release-build (d7e29ee)
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.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/SwiftCommon/DataKit.git
Working copy of https://github.com/SwiftCommon/DataKit.git resolved at 1.1.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[0/26] Write sources
[9/26] Compiling CEcho ValueWitnessTable.c
[10/26] Write sources
[11/26] Compiling CEcho Functions.c
[12/26] Compiling CEcho CallAccessor.c
[13/26] Compiling CEcho ImageInspectionELF.c
[14/26] Compiling _AtomicsShims.c
[15/26] Compiling CEcho KnownMetadata.c
[16/26] Compiling CEcho ImageInspectionMachO.c
[17/26] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/66] Emitting module AnyCodable
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[20/66] Emitting module Atomics
[21/68] Compiling DataKit Base64.swift
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
[22/68] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[23/69] Compiling Commandant Errors.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[24/69] Compiling DataKit Data+ASCIIString.swift
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
[25/69] Compiling Commandant Result+Additions.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[26/69] Compiling Commandant Switch.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[27/69] Compiling DataKit Data+HexString.swift
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
[28/69] Compiling DataKit Data+UTF8String.swift
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/69] Emitting module Commandant
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[30/69] Compiling Commandant Argument.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[31/69] Compiling Commandant ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[32/69] Compiling DataKit Array+Data.swift
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/69] Emitting module DataKit
/host/spi-builder-workspace/.build/checkouts/DataKit/Sources/DataKit/Array+Data.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | extension Array where Element == UInt8 {
[34/69] Compiling Atomics UnsafeAtomic.swift
[35/69] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/69] Compiling Commandant OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[37/69] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[38/69] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
[39/69] Compiling Atomics AtomicMemoryOrderings.swift
[40/69] Compiling Atomics DoubleWord.swift
[41/69] Compiling Atomics ManagedAtomic.swift
[42/69] Compiling Atomics ManagedAtomicLazyReference.swift
[43/69] Compiling AnyCodable AnyDecodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[44/69] Compiling AnyCodable AnyEncodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[45/69] Compiling AnyCodable AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/69] Emitting module BigNumber
/host/spi-builder-workspace/.build/checkouts/Swift-BigInt/Sources/BigNumber/Swift-Big-Number-Core.swift:103:8: error: no such module 'Foundation'
 101 | //	————————————————————————————————————————————————————————————————————————————————————————————
 102 |
 103 | import Foundation
     |        `- error: no such module 'Foundation'
 104 | #if os(Linux)
 105 | import Glibc
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/ArgumentParser.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Represents an argument passed on the command line.
BUILD FAILURE 6.2 wasm