Build Information
Failed to build swift-numerics, reference main (6356eb
), with Swift 6.1 for Wasm on 30 May 2025 12:01:08 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-numerics.git
Reference: main
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/apple/swift-numerics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6356eb3 Merge pull request #307 from j-hui/add-extern-c
Cloned https://github.com/apple/swift-numerics.git
Revision (git rev-parse @):
6356eb395bba8de12aa4c360b4203ac3a5df9f85
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-numerics.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-numerics.git
https://github.com/apple/swift-numerics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-numerics",
"name" : "swift-numerics",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ComplexModule",
"targets" : [
"ComplexModule"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Numerics",
"targets" : [
"Numerics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RealModule",
"targets" : [
"RealModule"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_TestSupport",
"module_type" : "SwiftTarget",
"name" : "_TestSupport",
"path" : "Sources/_TestSupport",
"sources" : [
"BlackHole.swift",
"DoubleWidth.swift",
"Error.swift",
"Interval.swift",
"RealTestSupport.swift"
],
"target_dependencies" : [
"Numerics"
],
"type" : "library"
},
{
"c99name" : "_NumericsShims",
"module_type" : "ClangTarget",
"name" : "_NumericsShims",
"path" : "Sources/_NumericsShims",
"product_memberships" : [
"ComplexModule",
"Numerics",
"RealModule"
],
"sources" : [
"_NumericsShims.c"
],
"type" : "library"
},
{
"c99name" : "RealTests",
"module_type" : "SwiftTarget",
"name" : "RealTests",
"path" : "Tests/RealTests",
"sources" : [
"ApproximateEqualityTests.swift",
"AugmentedArithmeticTests.swift",
"ElementaryFunctionChecks.swift",
"IntegerExponentTests.swift",
"RelaxedArithmeticTests.swift"
],
"target_dependencies" : [
"_TestSupport"
],
"type" : "test"
},
{
"c99name" : "RealModule",
"module_type" : "SwiftTarget",
"name" : "RealModule",
"path" : "Sources/RealModule",
"product_memberships" : [
"ComplexModule",
"Numerics",
"RealModule"
],
"sources" : [
"AlgebraicField.swift",
"ApproximateEquality.swift",
"AugmentedArithmetic.swift",
"Double+Real.swift",
"ElementaryFunctions.swift",
"Float+Real.swift",
"Float16+Real.swift",
"Float80+Real.swift",
"Real.swift",
"RealFunctions.swift",
"RelaxedArithmetic.swift"
],
"target_dependencies" : [
"_NumericsShims"
],
"type" : "library"
},
{
"c99name" : "Numerics",
"module_type" : "SwiftTarget",
"name" : "Numerics",
"path" : "Sources/Numerics",
"product_memberships" : [
"Numerics"
],
"sources" : [
"Numerics.swift"
],
"target_dependencies" : [
"ComplexModule",
"IntegerUtilities",
"RealModule"
],
"type" : "library"
},
{
"c99name" : "IntegerUtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "IntegerUtilitiesTests",
"path" : "Tests/IntegerUtilitiesTests",
"sources" : [
"DivideTests.swift",
"DoubleWidthTests.swift",
"GCDTests.swift",
"RotateTests.swift",
"RoundingTests.swift",
"SaturatingArithmeticTests.swift",
"ShiftTests.swift"
],
"target_dependencies" : [
"IntegerUtilities",
"_TestSupport"
],
"type" : "test"
},
{
"c99name" : "IntegerUtilities",
"module_type" : "SwiftTarget",
"name" : "IntegerUtilities",
"path" : "Sources/IntegerUtilities",
"product_memberships" : [
"Numerics"
],
"sources" : [
"DivideWithRounding.swift",
"GCD.swift",
"Rotate.swift",
"RoundingRule.swift",
"SaturatingArithmetic.swift",
"ShiftWithRounding.swift"
],
"type" : "library"
},
{
"c99name" : "ComplexTests",
"module_type" : "SwiftTarget",
"name" : "ComplexTests",
"path" : "Tests/ComplexTests",
"sources" : [
"ApproximateEqualityTests.swift",
"ArithmeticTests.swift",
"ElementaryFunctionTests.swift",
"PropertyTests.swift"
],
"target_dependencies" : [
"_TestSupport"
],
"type" : "test"
},
{
"c99name" : "ComplexModule",
"module_type" : "SwiftTarget",
"name" : "ComplexModule",
"path" : "Sources/ComplexModule",
"product_memberships" : [
"ComplexModule",
"Numerics"
],
"sources" : [
"Complex+AdditiveArithmetic.swift",
"Complex+AlgebraicField.swift",
"Complex+Codable.swift",
"Complex+ElementaryFunctions.swift",
"Complex+Hashable.swift",
"Complex+IntegerLiteral.swift",
"Complex+Numeric.swift",
"Complex+StringConvertible.swift",
"Complex.swift",
"Polar.swift",
"Scale.swift"
],
"target_dependencies" : [
"RealModule"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
In file included from /host/spi-builder-workspace/Sources/_NumericsShims/_NumericsShims.c:19:
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:47: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:59: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:13: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:47: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:59: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:13: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
6 errors generated.
[5/7] Compiling _NumericsShims _NumericsShims.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_NumericsShims/_NumericsShims.c:19:
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:47: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:59: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:395:13: error: _Float16 is not supported on this target
395 | HEADER_SHIM _Float16 _numerics_relaxed_addf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:47: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:59: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
/host/spi-builder-workspace/Sources/_NumericsShims/include/_NumericsShims.h:402:13: error: _Float16 is not supported on this target
402 | HEADER_SHIM _Float16 _numerics_relaxed_mulf16(_Float16 a, _Float16 b) {
| ^
6 errors generated.
[0/2] Compiling _NumericsShims _NumericsShims.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm