Build Information
Failed to build CDRCodable, reference 1.2.3 (a08b03
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 07:35:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/DimaRU/CDRCodable.git
Reference: 1.2.3
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/DimaRU/CDRCodable
* tag 1.2.3 -> FETCH_HEAD
HEAD is now at a08b036 Msg2Swift stable version dependency
Cloned https://github.com/DimaRU/CDRCodable.git
Revision (git rev-parse @):
a08b036c8edd75b237b913e5aedc2f43fe5032c0
SUCCESS checkout https://github.com/DimaRU/CDRCodable.git at 1.2.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/DimaRU/CDRCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/DimaRU/Msg2swift.git
[1/184] Fetching msg2swift
Fetched https://github.com/DimaRU/Msg2swift.git from cache (0.22s)
Computing version for https://github.com/DimaRU/Msg2swift.git
Computed https://github.com/DimaRU/Msg2swift.git at 1.0.0 (0.62s)
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.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.25s)
Creating working copy for https://github.com/DimaRU/Msg2swift.git
Working copy of https://github.com/DimaRU/Msg2swift.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin Msg2swiftCommand
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/33] Emitting module CDRCodable
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[12/34] Compiling CDRCodable UnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[13/34] Compiling CDRCodable SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[14/34] Compiling CDRCodable Numeric+Bytes.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[15/34] Compiling CDRCodable KeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[16/34] Compiling CDRCodable CDREncoder.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[17/34] Compiling CDRCodable SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[18/34] Compiling CDRCodable UnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[19/34] Compiling CDRCodable CDRDecoder.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[20/34] Compiling CDRCodable KeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/CDRCodable/Decoder/CDRDecoder.swift:6:8: error: no such module 'Foundation'
4 | //
5 |
6 | import Foundation
| `- error: no such module 'Foundation'
7 |
8 | /// An object that decodes instances of a data type from Common Data Representation binary.
[21/34] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm