Build Information
Failed to build carton, reference 1.1.3 (57ab2e
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 16:10:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/carton.git
Reference: 1.1.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/swiftwasm/carton
* tag 1.1.3 -> FETCH_HEAD
HEAD is now at 57ab2e7 Bump version to 1.1.3, update CHANGELOG.md
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
57ab2e7c2419c0f6f2516d1c25142a9fb763ca7a
SUCCESS checkout https://github.com/swiftwasm/carton.git at 1.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftwasm/carton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.git
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-nio.git
[1/809] Fetching wasmtransformer
[503/77148] Fetching wasmtransformer, swift-nio
[504/92528] Fetching wasmtransformer, swift-nio, swift-argument-parser
Fetched https://github.com/swiftwasm/WasmTransformer from cache (1.01s)
[43626/91719] Fetching swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.03s)
[29009/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.06s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (7.34s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.86s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1781/18437] Fetching swift-atomics, swift-collections
[2114/22873] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.36s)
[5192/21076] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.58s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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
[1/1] Compiling plugin CartonDevPlugin
[2/2] Compiling plugin CartonTestPlugin
[3/3] Compiling plugin CartonBundlePlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/146] Write sources
[32/146] Compiling TSCclibc process.c.c
[33/146] Compiling CNIOWindows shim.c
[34/146] Compiling CNIOWindows WSAStartup.c
[35/146] Compiling _AtomicsShims.c
[36/146] Compiling CNIOWASI CNIOWASI.c
[37/146] Compiling CNIOLinux liburing_shims.c
[38/146] Compiling CNIOSHA1 c_nio_sha1.c
[39/146] Compiling CNIOLLHTTP c_nio_http.c
[40/146] Compiling CNIODarwin shim.c
[40/146] Write sources
[46/146] Write swift-version-24593BA9C3E375BF.txt
[46/146] Write sources
[49/146] Compiling TSCclibc process.c.c
[50/146] Write sources
[51/146] Compiling _AtomicsShims.c
[52/146] Compiling CNIOLinux shim.c
[53/146] Compiling CNIOLLHTTP c_nio_api.c
[54/160] Compiling CNIOLLHTTP c_nio_llhttp.c
[55/179] Compiling c-nioatomics.c
[56/198] Compiling c-atomics.c
[58/200] Compiling WasmTransformer ElementSectionReader.swift
[59/200] Compiling WasmTransformer FunctionSectionReader.swift
[60/200] Compiling WasmTransformer ImportSectionReader.swift
[61/202] Compiling WasmTransformer CustomSectionStripper.swift
[62/202] Compiling WasmTransformer I64ImportTransformer.swift
[63/202] Compiling WasmTransformer SizeProfiler.swift
[64/202] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[65/202] Compiling WasmTransformer Sections.swift
[66/202] Compiling WasmTransformer Trampoline.swift
[67/202] Compiling WasmTransformer LEB128.swift
[68/202] Compiling WasmTransformer OutputWriter.swift
[69/202] Compiling WasmTransformer CodeSectionReader.swift
[70/202] Compiling WasmTransformer BinaryFormat.swift
[71/202] Compiling WasmTransformer ByteEncodable.swift
[72/202] Compiling WasmTransformer InputByteStream.swift
[73/202] Compiling WasmTransformer ModuleReader.swift
[74/202] Compiling WasmTransformer TypeSectionReader.swift
[75/202] Compiling WasmTransformer VectorSectionReader.swift
[76/202] Emitting module WasmTransformer
[77/202] Compiling _NIOBase64 Base64.swift
[78/202] Emitting module carton_plugin_helper
[79/202] Compiling carton_plugin_helper main.swift
[80/202] Emitting module _NIOBase64
[83/204] Compiling _NIODataStructures _TinyArray.swift
[84/204] Compiling _NIODataStructures PriorityQueue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/210] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[86/210] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[87/212] Emitting module TSCLibc
[88/212] Emitting module _NIOBase64
[89/212] Emitting module _NIODataStructures
BUILD FAILURE 6.2 wasm