The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Eth, reference 1.0.4 (b092e3), with Swift 6.2 for Wasm on 29 Jan 2026 09:14:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hayesgm/Eth.swift.git
Reference: 1.0.4
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/hayesgm/Eth.swift
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at b092e3b use correct hyperevm explorer url (#65)
Submodule path 'Tests/Solidity/lib/forge-std': checked out '978ac6fadb62f5f0b723c996f64be52eddba6801'
Submodule 'Tests/Solidity/lib/forge-std' (https://github.com/foundry-rs/forge-std) registered for path 'Tests/Solidity/lib/forge-std'
Cloning into '/host/spi-builder-workspace/Tests/Solidity/lib/forge-std'...
Cloned https://github.com/hayesgm/Eth.swift.git
Revision (git rev-parse @):
b092e3bd4f73bef3fd0a4f5d9af3aabb14751800
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hayesgm/Eth.swift.git at 1.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hayesgm/Eth.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/hayesgm/SwiftKeccak.git
Fetching https://github.com/legend-hq/SwiftNumber
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/4294] Fetching swiftnumber
[1762/6461] Fetching swiftnumber, swift-docc-plugin
[1913/6508] Fetching swiftnumber, swift-docc-plugin, swiftkeccak
Fetched https://github.com/legend-hq/SwiftNumber from cache (0.44s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
[1/73898] Fetching swift-syntax
Fetched https://github.com/hayesgm/SwiftKeccak.git from cache (7.07s)
Fetched https://github.com/apple/swift-syntax.git from cache (7.15s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (10.87s)
Computing version for https://github.com/hayesgm/SwiftKeccak.git
Computed https://github.com/hayesgm/SwiftKeccak.git at 1.0.0 (0.45s)
Computing version for https://github.com/legend-hq/SwiftNumber
Computed https://github.com/legend-hq/SwiftNumber at 1.0.0 (0.80s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3649] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.54s)
Creating working copy for https://github.com/hayesgm/SwiftKeccak.git
Working copy of https://github.com/hayesgm/SwiftKeccak.git resolved at 1.0.0
Creating working copy for https://github.com/legend-hq/SwiftNumber
Working copy of https://github.com/legend-hq/SwiftNumber resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (1.01s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/37] Write sources
[17/37] Compiling _SwiftSyntaxCShims PlatformMutex.c
[18/37] Compiling KeccakTiny keccak-tiny.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[21/45] Emitting module SwiftSyntax602
[22/50] Emitting module SwiftSyntax601
[24/53] Emitting module SwiftSyntax509
[25/54] Emitting module SwiftSyntax600
[26/55] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/56] Emitting module SwiftKeccak
/host/spi-builder-workspace/.build/checkouts/SwiftKeccak/Sources/SwiftKeccak/Keccak.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import KeccakTiny
11 |
[32/56] Compiling SwiftSyntax600 Empty.swift
[33/56] Compiling SwiftSyntax510 Empty.swift
[33/56] Wrapping AST for SwiftSyntax600 for debugging
[34/56] Wrapping AST for SwiftSyntax510 for debugging
[36/56] Compiling SwiftSyntax602 Empty.swift
[37/56] Compiling SwiftKeccak Keccak.swift
/host/spi-builder-workspace/.build/checkouts/SwiftKeccak/Sources/SwiftKeccak/Keccak.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import KeccakTiny
11 |
[38/56] Compiling SwiftSyntax601 Empty.swift
[39/56] Compiling SwiftSyntax509 Empty.swift
[39/56] Wrapping AST for SwiftSyntax602 for debugging
[39/56] Wrapping AST for SwiftSyntax601 for debugging
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:106:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
104 |
105 | extension SNumber: Codable {
106 |     public init(from decoder: Decoder) throws {
    |                               `- error: 'Decoder' is unavailable: unavailable in embedded Swift
107 |         if let str = try? decoder.singleValueContainer().decode(String.self) {
108 |             if let value = SNumber(str, radix: 10) {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:120:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
118 |     }
119 |
120 |     public func encode(to encoder: Encoder) throws {
    |                                    `- error: 'Encoder' is unavailable: unavailable in embedded Swift
121 |         var container = encoder.singleValueContainer()
122 |         try container.encode(self.description)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:105:20: error: 'Codable' is unavailable: unavailable in embedded Swift
103 | }
104 |
105 | extension SNumber: Codable {
    |                    `- error: 'Codable' is unavailable: unavailable in embedded Swift
106 |     public init(from decoder: Decoder) throws {
107 |         if let str = try? decoder.singleValueContainer().decode(String.self) {
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:127:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
125 |
126 | extension Number: Codable {
127 |     public init(from decoder: Decoder) throws {
    |                               `- error: 'Decoder' is unavailable: unavailable in embedded Swift
128 |         let value = try SNumber(from: decoder)
129 |         guard value.sign == .plus else {
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
  |                 `- note: 'Decoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:136:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
134 |     }
135 |
136 |     public func encode(to encoder: Encoder) throws {
    |                                    `- error: 'Encoder' is unavailable: unavailable in embedded Swift
137 |         try SNumber(sign: .plus, magnitude: self).encode(to: encoder)
138 |     }
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
  |                 `- note: 'Encoder' has been explicitly marked unavailable here
3 |     var codingPath: [any CodingKey] { get }
4 |     func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:126:19: error: 'Codable' is unavailable: unavailable in embedded Swift
124 | }
125 |
126 | extension Number: Codable {
    |                   `- error: 'Codable' is unavailable: unavailable in embedded Swift
127 |     public init(from decoder: Decoder) throws {
128 |         let value = try SNumber(from: decoder)
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
  |                  `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:107:58: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
105 | extension SNumber: Codable {
106 |     public init(from decoder: Decoder) throws {
107 |         if let str = try? decoder.singleValueContainer().decode(String.self) {
    |                                                          `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
108 |             if let value = SNumber(str, radix: 10) {
109 |                 self = value
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:111:23: error: 'DecodingError' is unavailable: unavailable in embedded Swift
109 |                 self = value
110 |             } else {
111 |                 throw DecodingError.dataCorrupted(.init(codingPath: decoder.codingPath,
    |                       `- error: 'DecodingError' is unavailable: unavailable in embedded Swift
112 |                                                     debugDescription: "Invalid number"))
113 |             }
Swift.DecodingError:2:13: note: 'DecodingError' has been explicitly marked unavailable here
 1 | @_unavailableInEmbedded
 2 | public enum DecodingError : Error {
   |             `- note: 'DecodingError' has been explicitly marked unavailable here
 3 |     public struct Context : Sendable {
 4 |         public init(codingPath: [any CodingKey], debugDescription: String, underlyingError: (any Error)? = nil)
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:115:60: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
113 |             }
114 |         } else {
115 |             let value = try decoder.singleValueContainer().decode(Int64.self)
    |                                                            `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
116 |             self = SNumber(value)
117 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftNumber/Sources/Codable.swift:122:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
120 |     public func encode(to encoder: Encoder) throws {
121 |         var container = encoder.singleValueContainer()
122 |         try container.encode(self.description)
    |                       `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
123 |     }
124 | }
BUILD FAILURE 6.2 wasm