The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BFloat16, reference 0.1.0 (eff1fb), with Swift 6.2 for Wasm on 9 Sep 2025 09:44:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivarflakstad/BFloat16.swift.git
Reference: 0.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/ivarflakstad/BFloat16.swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at eff1fb6 Merge pull request #9 from ivarflakstad/docs
Cloned https://github.com/ivarflakstad/BFloat16.swift.git
Revision (git rev-parse @):
eff1fb6cd9329791f084498318313b9d40023ad4
SUCCESS checkout https://github.com/ivarflakstad/BFloat16.swift.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ivarflakstad/BFloat16.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/typelift/SwiftCheck.git
[1/4887] Fetching swiftcheck
Fetched https://github.com/typelift/SwiftCheck.git from cache (0.92s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (3.79s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.29s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.83s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
[60/15909] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.31s)
[4116/15828] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.57s)
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Compiling bfloat16.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/15] Compiling BFloat16 BFloat16.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[8/16] Compiling BFloat16 BFloat16+Hashing.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[9/16] Compiling BFloat16 resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[10/16] Compiling BFloat16 BFloat16+Numeric.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[11/16] Compiling BFloat16 BFloat16+Codable.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[12/16] Compiling BFloat16 BFloat16+Conversion.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[13/16] Compiling BFloat16 BFloat16+Floating.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module BFloat16
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[15/16] Compiling BFloat16 BFloat16+SIMD.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[16/16] Compiling BFloat16 BFloat16+String.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/BFloat16.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
BUILD FAILURE 6.2 wasm