Build Information
Failed to build swift-sass, reference 3.1.0 (e2c9c4
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 02:04:31 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/johnfairh/swift-sass.git
Reference: 3.1.0
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/johnfairh/swift-sass
* tag 3.1.0 -> FETCH_HEAD
HEAD is now at e2c9c4e Version 3.1.0
Submodule path 'sass': checked out '5cb2b69ada95d492ac33356f42e688f612825a19'
Submodule 'sass' (https://github.com/sass/sass.git) registered for path 'sass'
Cloning into '/host/spi-builder-workspace/sass'...
Cloned https://github.com/johnfairh/swift-sass.git
Revision (git rev-parse @):
e2c9c4e18c08f0b31f9ddbd3677a7a37460ad132
SUCCESS checkout https://github.com/johnfairh/swift-sass.git at 3.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/johnfairh/swift-sass.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/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/johnfairh/Semver.swift.git
Fetching https://github.com/apple/swift-nio.git
[1/1797] Fetching swift-atomics
[882/1978] Fetching swift-atomics, semver.swift
[1979/5814] Fetching swift-atomics, semver.swift, swift-log
Fetching https://github.com/johnfairh/SourceMapper.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
[1/76339] Fetching swift-nio
[3818/76879] Fetching swift-nio, sourcemapper
Fetched https://github.com/johnfairh/SourceMapper.git from cache (0.33s)
[8398/76339] Fetching swift-nio
[48095/115794] Fetching swift-nio, swift-protobuf
Fetched https://github.com/johnfairh/Semver.swift.git from cache (6.51s)
Fetched https://github.com/apple/swift-nio.git from cache (6.72s)
Fetched https://github.com/apple/swift-log.git from cache (7.02s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.10s)
Computing version for https://github.com/johnfairh/SourceMapper.git
Computed https://github.com/johnfairh/SourceMapper.git at 2.0.0 (10.12s)
Computing version for https://github.com/johnfairh/Semver.swift.git
Computed https://github.com/johnfairh/Semver.swift.git at 1.2.4 (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.33s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[4038/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
[2829/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.85s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.66s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/johnfairh/Semver.swift.git
Working copy of https://github.com/johnfairh/Semver.swift.git resolved at 1.2.4
Creating working copy for https://github.com/johnfairh/SourceMapper.git
Working copy of https://github.com/johnfairh/SourceMapper.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/46] Write sources
[14/46] Compiling CNIODarwin shim.c
[14/46] Compiling CNIOLinux shim.c
[14/46] Write sources
[18/46] Copying PrivacyInfo.xcprivacy
[19/46] Write sources
[20/46] Compiling CNIOWindows shim.c
[20/46] Compiling CNIOLinux liburing_shims.c
[22/46] Compiling _AtomicsShims.c
[23/46] Compiling CNIOWindows WSAStartup.c
[24/46] Compiling CNIOWASI CNIOWASI.c
[25/46] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/151] Emitting module SourceMapper
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[27/151] Compiling c-atomics.c
[28/165] Compiling c-nioatomics.c
[30/171] Emitting module InternalCollectionsUtilities
[31/172] Compiling Semver Semver+Parser.swift
/host/spi-builder-workspace/.build/checkouts/Semver.swift/Sources/Semver+Expressible.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Semver: ExpressibleByFloatLiteral {
[32/172] Compiling SourceMapper SourceMap.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[33/172] Compiling SourceMapper Mappings.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[34/172] Compiling SourceMapper VLQ.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[35/172] Compiling SourceMapper JSON.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[36/172] Compiling SourceMapper Errors.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
[37/172] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/172] Compiling InternalCollectionsUtilities Integer rank.swift
[39/172] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[40/172] Compiling InternalCollectionsUtilities UInt+reversed.swift
[41/172] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/172] Emitting module Logging
[43/172] Compiling Logging Locks.swift
[44/172] Compiling SourceMapper UnpackedSourceMap.swift
/host/spi-builder-workspace/.build/checkouts/SourceMapper/Sources/SourceMapper/JSON.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | fileprivate struct SerializedSourceMap: Codable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/172] Emitting module Semver
/host/spi-builder-workspace/.build/checkouts/Semver.swift/Sources/Semver+Expressible.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Semver: ExpressibleByFloatLiteral {
[46/172] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/172] Compiling SwiftProtobuf Message+JSONAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[48/172] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[49/172] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[50/172] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[51/172] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[52/172] Compiling SwiftProtobuf Message.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[53/172] Compiling SwiftProtobuf MessageExtension.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[54/172] Compiling SwiftProtobuf NameMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[55/172] Compiling SwiftProtobuf PathDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[56/172] Compiling SwiftProtobuf PathVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[57/172] Compiling SwiftProtobuf ProtoNameProviding.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[58/172] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[59/172] Compiling SwiftProtobuf ProtobufMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[60/172] Compiling SwiftProtobuf SelectiveVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[61/172] Compiling SwiftProtobuf SimpleExtensionMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[62/172] Compiling SwiftProtobuf StringUtils.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[63/172] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[64/172] Compiling SwiftProtobuf SwiftProtobufError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[65/172] Compiling SwiftProtobuf TextFormatDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[66/172] Compiling SwiftProtobuf TextFormatDecodingError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[67/172] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[68/172] Compiling SwiftProtobuf TextFormatEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[69/172] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[70/172] Compiling Semver Semver+Expressible.swift
/host/spi-builder-workspace/.build/checkouts/Semver.swift/Sources/Semver+Expressible.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Semver: ExpressibleByFloatLiteral {
[71/172] Compiling Semver Semver.swift
/host/spi-builder-workspace/.build/checkouts/Semver.swift/Sources/Semver+Expressible.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Semver: ExpressibleByFloatLiteral {
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[72/172] Compiling InternalCollectionsUtilities Descriptions.swift
[73/172] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[74/172] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/172] Compiling InternalCollectionsUtilities Debugging.swift
[76/172] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[77/172] Compiling InternalCollectionsUtilities _SortedCollection.swift
[78/172] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[79/172] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
BUILD FAILURE 6.2 wasm