Build Information
Failed to build Core, reference 3.10.1 (89c698
), with Swift 6.1 for Wasm on 28 May 2025 01:51:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/vapor/core.git
Reference: 3.10.1
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/vapor/core
* tag 3.10.1 -> FETCH_HEAD
HEAD is now at 89c6989 Fix compilation error in Xcode 13
Cloned https://github.com/vapor/core.git
Revision (git rev-parse @):
89c6989fd8b1e08acfd198afba1c38971bb814b2
SUCCESS checkout https://github.com/vapor/core.git at 3.10.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/core.git
https://github.com/vapor/core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.14.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "Core",
"name" : "Core",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Async",
"targets" : [
"Async"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Bits",
"targets" : [
"Bits"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "COperatingSystem",
"targets" : [
"COperatingSystem"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Debugging",
"targets" : [
"Debugging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DebuggingTests",
"module_type" : "SwiftTarget",
"name" : "DebuggingTests",
"path" : "Tests/DebuggingTests",
"sources" : [
"FooError.swift",
"FooErrorTests.swift",
"GeneralTests.swift",
"MinimumError.swift",
"TestError.swift",
"TraceableTests.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "test"
},
{
"c99name" : "Debugging",
"module_type" : "SwiftTarget",
"name" : "Debugging",
"path" : "Sources/Debugging",
"product_memberships" : [
"Bits",
"Core",
"Debugging"
],
"sources" : [
"Debuggable.swift",
"Demangler.swift",
"SourceLocation.swift"
],
"type" : "library"
},
{
"c99name" : "CoreTests",
"module_type" : "SwiftTarget",
"name" : "CoreTests",
"path" : "Tests/CoreTests",
"sources" : [
"CoreTests.swift",
"ReflectableTests.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "test"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_dependencies" : [
"NIOFoundationCompat"
],
"product_memberships" : [
"Core"
],
"sources" : [
"BasicKey.swift",
"CaseInsensitiveString.swift",
"CodableReflection/Decodable+Reflectable.swift",
"CodableReflection/ReflectionDecodable.swift",
"CodableReflection/ReflectionDecoders.swift",
"CoreError.swift",
"Data+Base64URL.swift",
"Data+Hex.swift",
"DataCoders.swift",
"Deprecated.swift",
"DirectoryConfig.swift",
"Exports.swift",
"File.swift",
"Future+Unwrap.swift",
"FutureEncoder.swift",
"HeaderValue.swift",
"LosslessDataConvertible.swift",
"MediaType.swift",
"NestedData.swift",
"NotFound.swift",
"OptionalType.swift",
"Process+Execute.swift",
"Reflectable.swift",
"String+Utilities.swift",
"Thread+Async.swift"
],
"target_dependencies" : [
"Async",
"Bits",
"COperatingSystem",
"Debugging"
],
"type" : "library"
},
{
"c99name" : "COperatingSystem",
"module_type" : "SwiftTarget",
"name" : "COperatingSystem",
"path" : "Sources/COperatingSystem",
"product_memberships" : [
"Core",
"COperatingSystem"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "BitsTests",
"module_type" : "SwiftTarget",
"name" : "BitsTests",
"path" : "Tests/BitsTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"ByteBufferPeekTests.swift",
"ByteBufferRequireTests.swift"
],
"target_dependencies" : [
"Bits"
],
"type" : "test"
},
{
"c99name" : "Bits",
"module_type" : "SwiftTarget",
"name" : "Bits",
"path" : "Sources/Bits",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Bits",
"Core"
],
"sources" : [
"BitsError.swift",
"Byte+Alphabet.swift",
"Byte+Control.swift",
"Byte+Digit.swift",
"ByteBuffer+binaryFloatingPointOperations.swift",
"ByteBuffer+peek.swift",
"ByteBuffer+require.swift",
"ByteBuffer+string.swift",
"Bytes.swift",
"Data+Bytes.swift",
"Data+Strings.swift",
"Deprecated.swift"
],
"target_dependencies" : [
"Debugging"
],
"type" : "library"
},
{
"c99name" : "AsyncTests",
"module_type" : "SwiftTarget",
"name" : "AsyncTests",
"path" : "Tests/AsyncTests",
"sources" : [
"AsyncTests.swift"
],
"target_dependencies" : [
"Async"
],
"type" : "test"
},
{
"c99name" : "Async",
"module_type" : "SwiftTarget",
"name" : "Async",
"path" : "Sources/Async",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"Async",
"Core"
],
"sources" : [
"Async+NIO.swift",
"AsyncError.swift",
"Collection+Future.swift",
"Deprecated.swift",
"Exports.swift",
"Future+DoCatch.swift",
"Future+Flatten.swift",
"Future+Global.swift",
"Future+Map.swift",
"Future+Transform.swift",
"Future+Variadic.swift",
"Future+Void.swift",
"FutureType.swift",
"QueueHandler.swift",
"Worker.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/apple/swift-nio.git
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.23s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (1.14s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.65s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/15] Write sources
[9/15] Compiling CNIOLinux shim.c
[10/15] Compiling CNIODarwin shim.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
47 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[11/15] Compiling CNIOSHA1 c_nio_sha1.c
[11/15] Compiling c-atomics.c
[11/15] Compiling CNIOLinux ifaddrs-android.c
[11/15] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/4] Compiling CNIOLinux ifaddrs-android.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: fatal error: 'sys/cdefs.h' file not found
47 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[1/4] Compiling CNIOSHA1 c_nio_sha1.c
[1/4] Compiling c-atomics.c
[1/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm