Build Information
Failed to build carton, reference main (dc09a0
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 16:10:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/carton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dc09a0e Support the latest SwiftPM producing .xctest for test products (#512)
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
dc09a0e490be92b34d6791ad2e697971c200b9d6
SUCCESS checkout https://github.com/swiftwasm/carton.git at main
========================================
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-2":/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/apple/swift-nio.git
Fetching https://github.com/swiftwasm/WasmTransformer
[1/809] Fetching wasmtransformer
[810/77148] Fetching wasmtransformer, swift-nio
[1574/92528] Fetching wasmtransformer, swift-nio, swift-argument-parser
Fetched https://github.com/swiftwasm/WasmTransformer from cache (1.42s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.43s)
[48857/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.16s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (6.92s)
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.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.96s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[595/6233] Fetching swift-atomics, swift-system
[3034/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.05s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.12s)
Fetched https://github.com/apple/swift-collections.git from cache (2.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.64s)
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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
[24/146] Compiling CNIOWindows shim.c
[24/146] Compiling _AtomicsShims.c
[26/146] Compiling TSCclibc process.c.c
[26/146] Compiling CNIOWindows WSAStartup.c
[28/146] Compiling CNIOWASI CNIOWASI.c
[29/146] Compiling CNIOLinux liburing_shims.c
[30/146] Write swift-version-24593BA9C3E375BF.txt
[31/146] Compiling TSCclibc process.c.c
[32/146] Compiling CNIOLLHTTP c_nio_http.c
[33/146] Compiling CNIODarwin shim.c
[34/146] Compiling CNIOLinux shim.c
[34/146] Compiling CNIOSHA1 c_nio_sha1.c
[36/146] Compiling CNIOLLHTTP c_nio_api.c
[37/185] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/194] Emitting module _NIODataStructures
[39/194] Compiling c-nioatomics.c
[39/194] Write sources
[49/194] Compiling _AtomicsShims.c
[50/196] Compiling c-atomics.c
[52/200] Emitting module _NIODataStructures
[53/200] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/200] Compiling CartonCore Misc.swift
[55/201] Emitting module WasmTransformer
[56/201] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/201] Compiling InternalCollectionsUtilities Integer rank.swift
[58/201] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[59/203] Emitting module InternalCollectionsUtilities
[60/203] Compiling WasmTransformer CustomSectionStripper.swift
[61/203] Compiling WasmTransformer I64ImportTransformer.swift
[62/203] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/203] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/203] Compiling WasmTransformer SizeProfiler.swift
[65/203] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[66/203] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[67/203] Compiling InternalCollectionsUtilities Debugging.swift
[68/203] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/203] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/203] Compiling InternalCollectionsUtilities Descriptions.swift
[73/203] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[75/203] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[78/203] Emitting module _NIOBase64
[79/203] Compiling _NIOBase64 Base64.swift
[81/203] Compiling WasmTransformer FunctionSectionReader.swift
[82/203] Compiling WasmTransformer ImportSectionReader.swift
[90/204] Compiling _NIODataStructures PriorityQueue.swift
[91/204] Compiling _NIODataStructures _TinyArray.swift
[92/206] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[94/213] Emitting module _NIOBase64
[95/213] Compiling WasmTransformer StackOverflowSanitizer.swift
[96/213] Compiling WasmTransformer WasmTransformer.swift
[98/229] Compiling DequeModule _DequeBuffer.swift
[99/229] Compiling DequeModule _DequeBufferHeader.swift
[100/231] Compiling TSCLibc libc.swift
[101/231] Emitting module TSCLibc
[102/232] Compiling NIOConcurrencyHelpers lock.swift
[104/232] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[105/232] Compiling DequeModule Deque+CustomReflectable.swift
[106/232] Compiling DequeModule Deque+Descriptions.swift
[107/232] Compiling DequeModule Deque+Extras.swift
[108/232] Compiling DequeModule Deque+Hashable.swift
[109/232] Compiling _NIODataStructures Heap.swift
[110/233] Emitting module NIOConcurrencyHelpers
[112/253] Compiling CartonCore TerminalController.swift
[113/253] Compiling CartonCore InteractiveWriter.swift
[114/253] Compiling CartonCore FileSystem+traverseRecursively.swift
[115/253] Compiling CartonCore Environment.swift
[116/253] Emitting module CartonCore
[117/253] Compiling CartonCore FoundationProcessEx.swift
[118/254] Compiling Atomics AtomicInteger.swift
[119/254] Compiling Atomics AtomicOptionalWrappable.swift
[121/275] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[122/275] Compiling NIOConcurrencyHelpers atomics.swift
[123/275] Compiling NIOConcurrencyHelpers NIOLock.swift
[124/276] Compiling CartonHelpers FileSystem.swift
[125/276] Compiling CartonHelpers HashAlgorithms.swift
[127/278] Compiling CartonHelpers Process+run.swift
[128/278] Compiling CartonHelpers ProcessEx.swift
[129/278] Compiling CartonHelpers Thread.swift
[130/278] Wrapping AST for _NIODataStructures for debugging
[132/278] Compiling CartonHelpers StringConversions.swift
[134/278] Compiling CartonHelpers Lock.swift
[135/278] Compiling CartonHelpers ProcessEnv.swift
[135/278] Wrapping AST for _NIOBase64 for debugging
[136/278] Wrapping AST for WasmTransformer for debugging
[137/278] Wrapping AST for TSCLibc for debugging
[138/278] Wrapping AST for NIOConcurrencyHelpers for debugging
[140/278] Compiling CartonHelpers FileInfo.swift
[143/278] Wrapping AST for InternalCollectionsUtilities for debugging
[146/280] Wrapping AST for CartonCore for debugging
[146/280] Write sources
[166/280] Compiling Atomics IntegerOperations.swift
[167/280] Compiling Atomics Unmanaged extensions.swift
[167/280] Compiling CNIOWindows shim.c
[169/280] Compiling CartonHelpers Path.swift
[170/280] Compiling CartonHelpers PathShims.swift
[171/299] Compiling WasmTransformer LEB128.swift
[172/299] Compiling WasmTransformer OutputWriter.swift
[173/299] Compiling WasmTransformer CodeSectionReader.swift
[174/299] Compiling CartonHelpers Retry.swift
[175/299] Compiling CartonHelpers StaticArchive.swift
[176/299] Emitting module CartonHelpers
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'CartonHelpers' may lead to instability during execution
18 | #endif
19 |
20 | @_implementationOnly import TSCclibc
| `- warning: using '@_implementationOnly' without enabling library evolution for 'CartonHelpers' may lead to instability during execution
21 | import TSCLibc
22 | import Dispatch
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/FileInfo.swift:70:1: warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
68 | }
69 |
70 | extension FileAttributeType: Codable {}
| |- warning: extension declares a conformance of imported type 'FileAttributeType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
71 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:72:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
70 | }
71 |
72 | extension ProcessEnvironmentBlock: Sendable {}
| `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
73 |
74 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
| `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
[177/299] Emitting module DequeModule
[179/300] Emitting module ArgumentParserToolInfo
[180/300] Compiling ArgumentParserToolInfo ToolInfo.swift
[182/317] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[183/318] Compiling InternalCollectionsUtilities Descriptions.swift
[184/318] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[185/318] Compiling WasmTransformer SizeProfiler.swift
[186/318] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[187/320] Emitting module carton_plugin_helper
[188/320] Compiling carton_plugin_helper main.swift
[189/321] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[190/321] Compiling InternalCollectionsUtilities Debugging.swift
[191/321] Compiling InternalCollectionsUtilities Integer rank.swift
[192/321] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[193/321] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[197/321] 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 |
[198/321] 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 |
[199/321] Compiling WasmTransformer Sections.swift
[200/321] Compiling WasmTransformer Trampoline.swift
[201/321] Compiling WasmTransformer CustomSectionStripper.swift
[202/321] Compiling WasmTransformer I64ImportTransformer.swift
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:72:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
70 | }
71 |
72 | extension ProcessEnvironmentBlock: Sendable {}
| `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
73 |
74 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
| `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
52 | }
53 |
54 | self.thread = ThreadImpl(block: theTask)
| `- warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
55 | }
56 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:72:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
70 | }
71 |
72 | extension ProcessEnvironmentBlock: Sendable {}
| `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
73 |
74 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
| `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
52 | }
53 |
54 | self.thread = ThreadImpl(block: theTask)
| `- warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
55 | }
56 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:72:36: warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
70 | }
71 |
72 | extension ProcessEnvironmentBlock: Sendable {}
| `- warning: conformance of 'Dictionary<Key, Value>' to protocol 'Sendable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
73 |
74 | /// Provides functionality related a process's environment.
Swift.Dictionary:1:11: note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
1 | extension Dictionary : @unchecked Sendable where Key : Sendable, Value : Sendable {
| `- note: 'Dictionary<Key, Value>' declares conformance to protocol 'Sendable' here
2 | }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
52 | }
53 |
54 | self.thread = ThreadImpl(block: theTask)
| `- warning: converting non-Sendable function value to '@Sendable () -> Void' may introduce data races
55 | }
56 |
BUILD FAILURE 6.2 wasm