Build Information
Failed to build DiscreteMathematics, reference 2.0.0 (a0ac74), with Swift 6.2 for Wasm on 18 Jun 2025 17:01:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cszatmary/DiscreteMathematics.git
Reference: 2.0.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/cszatmary/DiscreteMathematics
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at a0ac74e Merge pull request #1 from cszatma/swift-5
Cloned https://github.com/cszatmary/DiscreteMathematics.git
Revision (git rev-parse @):
a0ac74e242c1b97a5deab9e967afc56830a63651
SUCCESS checkout https://github.com/cszatmary/DiscreteMathematics.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/cszatmary/DiscreteMathematics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/orta/Komondor.git
[1/509] Fetching komondor
[510/15268] Fetching komondor, quick
[4495/34852] Fetching komondor, quick, nimble
Fetched https://github.com/orta/Komondor.git from cache (1.06s)
[30035/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (5.64s)
Fetched https://github.com/Quick/Nimble.git from cache (5.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (6.35s)
Computing version for https://github.com/orta/Komondor.git
Computed https://github.com/orta/Komondor.git at 1.1.4 (2.50s)
Fetching https://github.com/f-meloni/Rocket
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/Realm/SwiftLint.git
[1/580] Fetching packageconfig
[309/1966] Fetching packageconfig, rocket
[1884/2946] Fetching packageconfig, rocket, shellout
Fetched https://github.com/f-meloni/Rocket from cache (0.56s)
[1/48941] Fetching swiftformat
[1470/199537] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (26.14s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (30.53s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (30.53s)
Fetched https://github.com/Realm/SwiftLint.git from cache (31.83s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.3.0 (32.27s)
Fetching https://github.com/shibapm/Logger
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kareman/SwiftShell
[1/116] Fetching logger
[117/4979] Fetching logger, swiftshell
[4980/15838] Fetching logger, swiftshell, yams
Fetched https://github.com/shibapm/Logger from cache (3.99s)
Fetched https://github.com/kareman/SwiftShell from cache (3.99s)
Fetched https://github.com/jpsim/Yams from cache (4.02s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (9.27s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (6.27s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.36s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.40s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.87s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.66s)
Computing version for https://github.com/Realm/SwiftLint.git
Computed https://github.com/Realm/SwiftLint.git at 0.59.1 (0.56s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/100] Fetching collectionconcurrencykit
[101/16244] Fetching collectionconcurrencykit, sourcekitten
[102/17173] Fetching collectionconcurrencykit, sourcekitten, swiftytexttable
[1838/30114] Fetching collectionconcurrencykit, sourcekitten, swiftytexttable, cryptoswift
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.31s)
[4496/29185] Fetching collectionconcurrencykit, sourcekitten, cryptoswift
[13344/44565] Fetching collectionconcurrencykit, sourcekitten, cryptoswift, swift-argument-parser
[35120/115463] Fetching collectionconcurrencykit, sourcekitten, cryptoswift, swift-argument-parser, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.66s)
[52527/99319] Fetching collectionconcurrencykit, cryptoswift, swift-argument-parser, swift-syntax
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.67s)
[40295/86378] Fetching collectionconcurrencykit, swift-argument-parser, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (4.99s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.00s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.04s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (5.52s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.41s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.46s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (6.11s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.70s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (3.22s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.27s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.56.4 (0.87s)
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
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.5.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/orta/Komondor.git
Working copy of https://github.com/orta/Komondor.git resolved at 1.1.4
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.3.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.56.4
Creating working copy for https://github.com/Realm/SwiftLint.git
Working copy of https://github.com/Realm/SwiftLint.git resolved at 0.59.1
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin SwiftFormatPlugin
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling DiscreteMathematics Sequences.swift
/host/spi-builder-workspace/Sources/DiscreteMathematics/ModularArithmetic.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Helper Functions
[8/11] Compiling DiscreteMathematics RSA.swift
/host/spi-builder-workspace/Sources/DiscreteMathematics/ModularArithmetic.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Helper Functions
[9/11] Compiling DiscreteMathematics ModularArithmetic.swift
/host/spi-builder-workspace/Sources/DiscreteMathematics/ModularArithmetic.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Helper Functions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module DiscreteMathematics
/host/spi-builder-workspace/Sources/DiscreteMathematics/ModularArithmetic.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Helper Functions
[11/11] Compiling DiscreteMathematics Operators.swift
/host/spi-builder-workspace/Sources/DiscreteMathematics/ModularArithmetic.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Helper Functions
BUILD FAILURE 6.2 wasm