The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Thrift, reference 1.2.0 (69c286), with Swift 6.2 for Wasm on 20 Jun 2025 07:19:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apocolipse/Thrift-Swift.git
Reference: 1.2.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/apocolipse/Thrift-Swift
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 69c2862 add TJSONProtocol support (#35)
Cloned https://github.com/apocolipse/Thrift-Swift.git
Revision (git rev-parse @):
69c28628b75eda61465d58938dcf83d485e847ec
SUCCESS checkout https://github.com/apocolipse/Thrift-Swift.git at 1.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apocolipse/Thrift-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/32] Emitting module Thrift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[4/36] Compiling Thrift TTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[5/36] Compiling Thrift TTransportError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[6/36] Compiling Thrift TWrappedProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[7/36] Compiling Thrift Thrift.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[8/36] Compiling Thrift TSocketServer.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[9/36] Compiling Thrift TSocketTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[10/36] Compiling Thrift TStreamTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[11/36] Compiling Thrift TStruct.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[12/36] Compiling Thrift TClient.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[13/36] Compiling Thrift TCompactProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[14/36] Compiling Thrift TEnum.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[15/36] Compiling Thrift TError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[16/36] Compiling Thrift LinuxHelper.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[17/36] Compiling Thrift TApplicationError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[18/36] Compiling Thrift TBase64Utils.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[19/36] Compiling Thrift TBinary.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[20/36] Compiling Thrift TBinaryProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[21/36] Compiling Thrift TMultiplexedProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[22/36] Compiling Thrift TProcessor.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[23/36] Compiling Thrift TProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[24/36] Compiling Thrift TProtocolError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[25/36] Compiling Thrift TSSLSocketTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[26/36] Compiling Thrift TSSLSocketTransportError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[27/36] Compiling Thrift TSerializable.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[28/36] Compiling Thrift TSet.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[29/36] Compiling Thrift TFileHandleTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[30/36] Compiling Thrift TFileTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[31/36] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[32/36] Compiling Thrift THTTPSessionTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[33/36] Compiling Thrift TJSONProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[34/36] Compiling Thrift TList.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[35/36] Compiling Thrift TMap.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
[36/36] Compiling Thrift TMemoryBufferTransport.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:21:8: error: no such module 'Foundation'
19 |
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 | import CoreFoundation
23 |
BUILD FAILURE 6.2 wasm