Build Information
Failed to build swift-container-plugin, reference 1.0.2 (4ffc54
), with Swift 6.2 (beta) for Wasm on 1 Jul 2025 18:00:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-container-plugin.git
Reference: 1.0.2
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/apple/swift-container-plugin
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 4ffc546 ContainerRegistry: Reject invalid image tags and digests (#142)
Cloned https://github.com/apple/swift-container-plugin.git
Revision (git rev-parse @):
4ffc546c72c79d6f035043a81045607e8e7b8dea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-container-plugin.git at 1.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-container-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
[1/2094] Fetching swift-docc-plugin
[232/2998] Fetching swift-docc-plugin, swift-http-types
[2329/18643] Fetching swift-docc-plugin, swift-http-types, swift-crypto
Fetched https://github.com/apple/swift-http-types.git from cache (0.60s)
[3033/17739] Fetching swift-docc-plugin, swift-crypto
[4442/33238] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.08s)
[23478/31144] Fetching swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
[8136/15645] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.85s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3419] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.08s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.73s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
[1/1] Compiling plugin ContainerImageBuilder
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/773] Write sources
[24/773] Compiling VendorCNIOExtrasZlib empty.c
[25/773] Write sources
[26/773] Compiling VendorCNIOExtrasZlib empty.c
[27/773] Write swift-version-24593BA9C3E375BF.txt
[28/773] Compiling fiat_p256_adx_sqr.S
[29/773] Compiling fiat_p256_adx_mul.S
[30/777] Compiling a_dup.cc
[31/777] Compiling a_gentm.cc
[32/777] Compiling a_bitstr.cc
[33/785] Compiling a_bool.cc
[34/792] Compiling CCryptoBoringSSLShims shims.c
[36/801] Emitting module Tar
[36/801] Compiling a_bool.cc
[38/803] Emitting module HTTPTypes
[39/804] Emitting module swift_container_plugin
[40/804] Compiling swift_container_plugin Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/805] Emitting module Basics
/host/spi-builder-workspace/Vendor/github.com/apple/swift-package-manager/Sources/Basics/AuthorizationProvider.swift:17:15: error: no such module 'Foundation'
15 | // Use of Filesystem and AbsolutePath removed.
16 |
17 | import struct Foundation.Data
| `- error: no such module 'Foundation'
18 | import struct Foundation.Date
19 | import struct Foundation.URL
[43/805] Compiling Basics AuthorizationProvider.swift
/host/spi-builder-workspace/Vendor/github.com/apple/swift-package-manager/Sources/Basics/AuthorizationProvider.swift:17:15: error: no such module 'Foundation'
15 | // Use of Filesystem and AbsolutePath removed.
16 |
17 | import struct Foundation.Data
| `- error: no such module 'Foundation'
18 | import struct Foundation.Date
19 | import struct Foundation.URL
[44/805] Compiling Basics Netrc.swift
/host/spi-builder-workspace/Vendor/github.com/apple/swift-package-manager/Sources/Basics/AuthorizationProvider.swift:17:15: error: no such module 'Foundation'
15 | // Use of Filesystem and AbsolutePath removed.
16 |
17 | import struct Foundation.Data
| `- error: no such module 'Foundation'
18 | import struct Foundation.Date
19 | import struct Foundation.URL
[45/805] Emitting module Basics
[46/805] Emitting module Tar
[47/805] Emitting module ArgumentParserToolInfo
/host/spi-builder-workspace/Sources/Tar/tar.swift:101:5: error: integer literal '8589934591' overflows when stored into signed 'Builtin.Int32'
99 | func octal11(_ value: Int) -> String {
100 | precondition(value >= 0)
101 | precondition(value < 0o777_7777_7777)
| `- error: integer literal '8589934591' overflows when stored into signed 'Builtin.Int32'
102 | // String(format: "%011o", value) cannot be used because of a race in Foundation
103 | // which causes it to return an empty string from time to time when running the tests
/host/spi-builder-workspace/Sources/Tar/tar.swift:101:5: error: integer literal '8589934591' overflows when stored into signed 'Builtin.Int32'
99 | func octal11(_ value: Int) -> String {
100 | precondition(value >= 0)
101 | precondition(value < 0o777_7777_7777)
| `- error: integer literal '8589934591' overflows when stored into signed 'Builtin.Int32'
102 | // String(format: "%011o", value) cannot be used because of a race in Foundation
103 | // which causes it to return an empty string from time to time when running the tests
BUILD FAILURE 6.2 wasm