Build Information
Failed to build DockerSwift, reference main (011d2f
), with Swift 6.1 for Wasm on 29 May 2025 00:49:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/m-barthelemy/DockerSwift.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/m-barthelemy/DockerSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 011d2f4 Minor README update
Cloned https://github.com/m-barthelemy/DockerSwift.git
Revision (git rev-parse @):
011d2f41634f315432b3623f687c758db830fe85
SUCCESS checkout https://github.com/m-barthelemy/DockerSwift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/m-barthelemy/DockerSwift.git
https://github.com/m-barthelemy/DockerSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.62.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "websocket-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket-kit.git"
},
{
"identity" : "bettercodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/marksands/BetterCodable.git"
}
],
"manifest_display_name" : "DockerSwift",
"name" : "DockerSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "DockerSwift",
"targets" : [
"DockerSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DockerSwiftTests",
"module_type" : "SwiftTarget",
"name" : "DockerSwiftTests",
"path" : "Tests/DockerSwiftTests",
"sources" : [
"ConfigAndSecretTests.swift",
"ContainerTests.swift",
"ImageTests.swift",
"NetworkTests.swift",
"NodeTests.swift",
"PluginTests.swift",
"ServiceTests.swift",
"SwarmTests.swift",
"SystemTests.swift",
"TaskTests.swift",
"Utils/DockerClient+Testable.swift",
"VolumeTests.swift"
],
"target_dependencies" : [
"DockerSwift"
],
"type" : "test"
},
{
"c99name" : "DockerSwift",
"module_type" : "SwiftTarget",
"name" : "DockerSwift",
"path" : "Sources/DockerSwift",
"product_dependencies" : [
"NIO",
"AsyncHTTPClient",
"WebSocketKit",
"BetterCodable"
],
"product_memberships" : [
"DockerSwift"
],
"sources" : [
"APIs/DockerClient+Config.swift",
"APIs/DockerClient+Container.swift",
"APIs/DockerClient+Image.swift",
"APIs/DockerClient+Network.swift",
"APIs/DockerClient+Node.swift",
"APIs/DockerClient+Plugin.swift",
"APIs/DockerClient+Registry.swift",
"APIs/DockerClient+Secret.swift",
"APIs/DockerClient+Service.swift",
"APIs/DockerClient+Swarm.swift",
"APIs/DockerClient+System.swift",
"APIs/DockerClient+Task.swift",
"APIs/DockerClient+Volume.swift",
"APIs/DockerClient.swift",
"Endpoints/Configs/CreateConfigEndpoint.swift",
"Endpoints/Configs/InspectConfigEndpoint.swift",
"Endpoints/Configs/ListConfigsEndpoint.swift",
"Endpoints/Configs/RemoveConfigEndpoint.swift",
"Endpoints/Configs/UpdateConfigEndpoint.swift",
"Endpoints/Containers/ContainerAttachEndpoint.swift",
"Endpoints/Containers/ContainerTopEndpoint.swift",
"Endpoints/Containers/CreateContainerEndpoint.swift",
"Endpoints/Containers/GetContainerChangesEndpoint.swift",
"Endpoints/Containers/GetContainerLogsEndpoint.swift",
"Endpoints/Containers/GetContainerStatsEndpoint.swift",
"Endpoints/Containers/InspectContainerEndpoint.swift",
"Endpoints/Containers/KillContainerEndpoint.swift",
"Endpoints/Containers/ListContainersEndpoint.swift",
"Endpoints/Containers/PauseUnpauseContainerEndpoint.swift",
"Endpoints/Containers/PruneContainersEndpoint.swift",
"Endpoints/Containers/RemoveContainerEndpoint.swift",
"Endpoints/Containers/RenameContainerEndpoint.swift",
"Endpoints/Containers/StartContainerEndpoint.swift",
"Endpoints/Containers/StopContainerEndpoint.swift",
"Endpoints/Containers/UpdateContainerEndpoint.swift",
"Endpoints/Containers/WaitContainerEndpoint.swift",
"Endpoints/Endpoint.swift",
"Endpoints/Filter.swift",
"Endpoints/Images/BuildEndpoint.swift",
"Endpoints/Images/CommitContainerEndpoint.swift",
"Endpoints/Images/GetImageHistoryEndpoint.swift",
"Endpoints/Images/InspectImageEndpoint.swift",
"Endpoints/Images/ListImagesEndpoint.swift",
"Endpoints/Images/PruneImagesEndpoint.swift",
"Endpoints/Images/PullImageEndpoint.swift",
"Endpoints/Images/PushImageEndpoint.swift",
"Endpoints/Images/RemoveImageEndpoint.swift",
"Endpoints/Images/TagImageEndpoint.swift",
"Endpoints/Networks/ConnectContainerEndpoint.swift",
"Endpoints/Networks/CreateNetworkEndpoint.swift",
"Endpoints/Networks/DisconnectContainerEndpoint.swift",
"Endpoints/Networks/InspectNetworkEndpoint.swift",
"Endpoints/Networks/ListNetworksEndpoint.swift",
"Endpoints/Networks/PruneNetworksEndpoint.swift",
"Endpoints/Networks/RemoveNetworkEndpoint.swift",
"Endpoints/Nodes/DeleteNodeEndpoint.swift",
"Endpoints/Nodes/InspectNodeEndpoint.swift",
"Endpoints/Nodes/ListNodesEndpoint.swift",
"Endpoints/Nodes/UpdateNodeEndpoint.swift",
"Endpoints/Plugin/ConfigurePluginEndpoint.swift",
"Endpoints/Plugin/EnableDisablePluginEndpoint.swift",
"Endpoints/Plugin/GetPluginPrivilegesEndpoint.swift",
"Endpoints/Plugin/InspectPluginEndpoint.swift",
"Endpoints/Plugin/InstallPluginEndpoint.swift",
"Endpoints/Plugin/ListPluginsEndpoint.swift",
"Endpoints/Plugin/RemovePluginEndpoint.swift",
"Endpoints/Plugin/UpgradePluginEndpoint.swift",
"Endpoints/Registries/RegistryLoginEndpoint.swift",
"Endpoints/Secrets/CreateSecretEndpoint.swift",
"Endpoints/Secrets/InspectSecretEndpoint.swift",
"Endpoints/Secrets/ListSecretsEndpoint.swift",
"Endpoints/Secrets/RemoveSecretEndpoint.swift",
"Endpoints/Secrets/UpdateSecretEndpoint.swift",
"Endpoints/Services/CreateServiceEndpoint.swift",
"Endpoints/Services/GetServiceLogsEndpoint.swift",
"Endpoints/Services/InspectServiceEndpoint.swift",
"Endpoints/Services/ListServicesEndpoint.swift",
"Endpoints/Services/RemoveServiceEndpoint.swift",
"Endpoints/Services/UpdateServiceEndpoint.swift",
"Endpoints/Swarm/InitSwarmEndpoint.swift",
"Endpoints/Swarm/InspectSwarmEndpoint.swift",
"Endpoints/Swarm/JoinSwarmEndpoint.swift",
"Endpoints/Swarm/LeaveSwarmEndpoint.swift",
"Endpoints/Swarm/UpdateSwarmEndpoint.swift",
"Endpoints/System/DiskUsageInformationEndpoint.swift",
"Endpoints/System/GetEventsEndpoint.swift",
"Endpoints/System/PingEndpoint.swift",
"Endpoints/System/SystemInformationEndpoint.swift",
"Endpoints/System/VersionEndpoint.swift",
"Endpoints/Tasks/GetTaskLogsEndpoint.swift",
"Endpoints/Tasks/InspectTaskEndpoint.swift",
"Endpoints/Tasks/ListTasksEndpoint.swift",
"Endpoints/Volumes/CreateVolumeEndpoint.swift",
"Endpoints/Volumes/InspectVolumeEndpoint.swift",
"Endpoints/Volumes/ListVolumesEndpoint.swift",
"Endpoints/Volumes/PruneVolumesEndpoint.swift",
"Endpoints/Volumes/RemoveVolumeEndpoint.swift",
"Helper/BetterCodable+WeirdDockerStrategy.swift",
"Helper/DockerStream.swift",
"Helper/HTTPClient+Codable.swift",
"Helper/HTTPClient+ExecuteOnSocket.swift",
"Helper/Helper+Codable.swift",
"Helper/OptionalWrapper.swift",
"Helper/UInt64.swift",
"Models/Build/BuildStreamOutput.swift",
"Models/Build/Buildconfig.swift",
"Models/Config/Config.swift",
"Models/Config/ConfigSpec.swift",
"Models/Container/Container.swift",
"Models/Container/ContainerAttach.swift",
"Models/Container/ContainerConfig.swift",
"Models/Container/ContainerFsChange.swift",
"Models/Container/ContainerHostConfig.swift",
"Models/Container/ContainerSpec.swift",
"Models/Container/ContainerStats.swift",
"Models/Container/ContainerSummary.swift",
"Models/Container/ContainerTop.swift",
"Models/Container/ContainerUpdate.swift",
"Models/Container/ExposedPortSpec.swift",
"Models/DockerError.swift",
"Models/DockerScope.swift",
"Models/DriverConfig.swift",
"Models/Identifier.swift",
"Models/Image/Image.swift",
"Models/Image/ImageLayer.swift",
"Models/Image/ImageSummary.swift",
"Models/LogEntry.swift",
"Models/MessageResponse.swift",
"Models/Network/ContainerConnect.swift",
"Models/Network/IPAM.swift",
"Models/Network/Network.swift",
"Models/Network/NetworkSpec.swift",
"Models/Plugins/Plugin.swift",
"Models/Plugins/PluginPrivilege.swift",
"Models/Registry/RegistryAuth.swift",
"Models/Secret/Secret.swift",
"Models/Secret/SecretSpec.swift",
"Models/Service/Service.swift",
"Models/Service/ServiceEndpointSpec.swift",
"Models/Service/ServiceRestartPolicy.swift",
"Models/Service/ServiceSpec.swift",
"Models/Swarm/SwarmConfig.swift",
"Models/Swarm/SwarmJoin.swift",
"Models/Swarm/SwarmNode.swift",
"Models/Swarm/SwarmTask.swift",
"Models/System/DataUsageInformation.swift",
"Models/System/DockerEvent.swift",
"Models/System/DockerVersion.swift",
"Models/System/SystemInformation.swift",
"Models/UnixSignal.swift",
"Models/Volume/PrunedVolumes.swift",
"Models/Volume/Volume.swift",
"Models/Volume/VolumeSpec.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/vapor/websocket-kit.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/marksands/BetterCodable.git
[1/592] Fetching bettercodable
Fetched https://github.com/marksands/BetterCodable.git from cache (0.30s)
[1/2609] Fetching websocket-kit
[2610/16623] Fetching websocket-kit, async-http-client
[7936/92716] Fetching websocket-kit, async-http-client, swift-nio
Fetched https://github.com/vapor/websocket-kit.git from cache (6.05s)
Fetched https://github.com/swift-server/async-http-client.git from cache (6.06s)
Fetched https://github.com/apple/swift-nio.git from cache (6.17s)
Computing version for https://github.com/marksands/BetterCodable.git
Computed https://github.com/marksands/BetterCodable.git at 0.4.0 (9.32s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.65s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1710] Fetching swift-atomics
[36/4377] Fetching swift-atomics, swift-nio-transport-services
[1306/10291] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
[9405/25134] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.59s)
[9257/22467] Fetching swift-atomics, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
[8289/20757] Fetching swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.70s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.45s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[3822/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[3153/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.98s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.83s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.99s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.83s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/6155] Fetching swift-certificates
[3202/8581] Fetching swift-certificates, swift-service-lifecycle
[7973/12417] Fetching swift-certificates, swift-service-lifecycle, swift-log
[8395/18376] Fetching swift-certificates, swift-service-lifecycle, swift-log, swift-algorithms
[9788/23361] Fetching swift-certificates, swift-service-lifecycle, swift-log, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.83s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.95s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.96s)
Fetched https://github.com/apple/swift-log.git from cache (0.96s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.00s)
[1/1141] Fetching swift-http-structured-headers
[857/2731] Fetching swift-http-structured-headers, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.40s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
[1/904] Fetching swift-http-types
[905/12431] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (1.42s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (3.09s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.78s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.97s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.92s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.87s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.85s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.78s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.71s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.47s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.17s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.85s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.82s)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/marksands/BetterCodable.git
Working copy of https://github.com/marksands/BetterCodable.git resolved at 0.4.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Building for debugging...
[0/445] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[26/445] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[26/445] Compiling CNIOLinux liburing_shims.c
[26/445] Compiling CNIODarwin shim.c
[26/445] Compiling CNIOWindows shim.c
[26/445] Compiling CNIOWindows WSAStartup.c
[26/445] Compiling CNIOLinux shim.c
[26/445] Compiling CNIOWASI CNIOWASI.c
[26/445] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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...
[0/419] Write sources
[2/419] Compiling CNIOExtrasZlib empty.c
[3/419] Compiling _AtomicsShims.c
[4/419] Compiling CNIOSHA1 c_nio_sha1.c
[5/419] Compiling CNIOWindows shim.c
[6/419] Compiling CNIOWindows WSAStartup.c
[7/419] Compiling CNIOWASI CNIOWASI.c
[8/419] Compiling fiat_p256_adx_mul.S
[9/419] Compiling CNIOLinux shim.c
[10/419] Compiling CNIOLinux liburing_shims.c
[11/419] Compiling CNIODarwin shim.c
[12/419] Write swift-version-24593BA9C3E375BF.txt
[13/419] Compiling _NumericsShims _NumericsShims.c
[14/419] Compiling fiat_p256_adx_sqr.S
[15/419] Compiling CNIOLLHTTP c_nio_http.c
[16/419] Compiling fiat_curve25519_adx_mul.S
[17/419] Compiling fiat_curve25519_adx_square.S
[18/419] Compiling CNIOBoringSSLShims shims.c
[19/424] Compiling CNIOLLHTTP c_nio_api.c
[20/489] Compiling CNIOLLHTTP c_nio_llhttp.c
[22/489] Emitting module Atomics
[23/491] Emitting module BetterCodable
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[23/493] Compiling tls_record.cc
[24/493] Emitting module _NIOBase64
BUILD FAILURE 6.1 wasm