Build Information
Failed to build soto-core, reference 7.7.1 (b75d7f
), with Swift 6.1 for Wasm on 31 May 2025 01:53:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/soto-project/soto-core.git
Reference: 7.7.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/soto-project/soto-core
* tag 7.7.1 -> FETCH_HEAD
HEAD is now at b75d7f4 Adding Android support (#658)
Cloned https://github.com/soto-project/soto-core.git
Revision (git rev-parse @):
b75d7f4793086a324e5005399182dc1c7e845f63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soto-project/soto-core.git at 7.7.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/soto-project/soto-core.git
https://github.com/soto-project/soto-core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.77.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.13.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.23.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "jmespath.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/adam-fowler/jmespath.swift.git"
}
],
"manifest_display_name" : "soto-core",
"name" : "soto-core",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SotoCore",
"targets" : [
"SotoCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SotoTestUtils",
"targets" : [
"SotoTestUtils"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SotoSignerV4",
"targets" : [
"SotoSignerV4"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "SotoXMLTests",
"module_type" : "SwiftTarget",
"name" : "SotoXMLTests",
"path" : "Tests/SotoXMLTests",
"sources" : [
"XMLCoderTests.swift",
"XMLTests.swift"
],
"target_dependencies" : [
"SotoXML",
"SotoCore"
],
"type" : "test"
},
{
"c99name" : "SotoXML",
"module_type" : "SwiftTarget",
"name" : "SotoXML",
"path" : "Sources/SotoXML",
"product_memberships" : [
"SotoCore",
"SotoTestUtils"
],
"sources" : [
"Expat.swift",
"XML.swift",
"XMLDecoder.swift",
"XMLEncoder.swift"
],
"target_dependencies" : [
"CSotoExpat"
],
"type" : "library"
},
{
"c99name" : "SotoTestUtils",
"module_type" : "SwiftTarget",
"name" : "SotoTestUtils",
"path" : "Sources/SotoTestUtils",
"product_dependencies" : [
"Logging",
"NIO",
"NIOFoundationCompat",
"NIOHTTP1",
"NIOPosix",
"NIOTestUtils"
],
"product_memberships" : [
"SotoTestUtils"
],
"sources" : [
"Environment.swift",
"TestServer.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"SotoCore",
"SotoXML"
],
"type" : "library"
},
{
"c99name" : "SotoSignerV4Tests",
"module_type" : "SwiftTarget",
"name" : "SotoSignerV4Tests",
"path" : "Tests/SotoSignerV4Tests",
"sources" : [
"AWSSignerTests.swift",
"SigV4aTests.swift"
],
"target_dependencies" : [
"SotoSignerV4"
],
"type" : "test"
},
{
"c99name" : "SotoSignerV4",
"module_type" : "SwiftTarget",
"name" : "SotoSignerV4",
"path" : "Sources/SotoSignerV4",
"product_dependencies" : [
"Crypto",
"NIOCore",
"NIOHTTP1"
],
"product_memberships" : [
"SotoCore",
"SotoTestUtils",
"SotoSignerV4"
],
"sources" : [
"HexEncoding.swift",
"SigV4a.swift",
"credentials.swift",
"exports.swift",
"signer.swift"
],
"type" : "library"
},
{
"c99name" : "SotoCoreTests",
"module_type" : "SwiftTarget",
"name" : "SotoCoreTests",
"path" : "Tests/SotoCoreTests",
"product_dependencies" : [
"NIOPosix"
],
"sources" : [
"AWSClientTests.swift",
"AWSRequestTests.swift",
"AWSResponseTests.swift",
"AWSServiceTests.swift",
"CRCTests.swift",
"Concurrency/AsyncSequenceTests.swift",
"Concurrency/Count.swift",
"Concurrency/ExpiringValueTests.swift",
"Concurrency/Sequence+concurrentMapTests.swift",
"Credential/ConfigFileCredentialProviderTests.swift",
"Credential/ConfigFileLoaderTests.swift",
"Credential/CredentialProviderTests.swift",
"Credential/MetaDataCredentialProviderTests.swift",
"Credential/RotatingCredentialProviderTests.swift",
"Credential/RuntimeSelectorCredentialProviderTests.swift",
"Credential/STSAssumeRoleTests.swift",
"Credential/StaticCredential+EnvironmentTests.swift",
"Doc/ARNTests.swift",
"Doc/EnvironmentTests.swift",
"Doc/RegionTests.swift",
"EndpointDiscoveryTests.swift",
"LoggingTests.swift",
"MiddlewareTests.swift",
"PaginateTests.swift",
"PayloadTests.swift",
"QueryEncoderTests.swift",
"TestTracer.swift",
"TimeStampTests.swift",
"TracingTests.swift",
"ValidationTests.swift",
"WaiterTests.swift"
],
"target_dependencies" : [
"SotoCore",
"SotoTestUtils"
],
"type" : "test"
},
{
"c99name" : "SotoCore",
"module_type" : "SwiftTarget",
"name" : "SotoCore",
"path" : "Sources/SotoCore",
"product_dependencies" : [
"Logging",
"AsyncHTTPClient",
"Atomics",
"Metrics",
"NIOCore",
"NIOHTTP1",
"NIOPosix",
"NIOSSL",
"NIOTransportServices",
"NIOFoundationCompat",
"JMESPath",
"Tracing"
],
"product_memberships" : [
"SotoCore",
"SotoTestUtils"
],
"sources" : [
"AWSClient+Paginate.swift",
"AWSClient.swift",
"AWSEndpointDiscovery.swift",
"AWSService.swift",
"AWSServiceConfig.swift",
"AWSShapes/Base64Data.swift",
"AWSShapes/Document.swift",
"AWSShapes/EventPayload.swift",
"Concurrency/AnyAsyncSequence.swift",
"Concurrency/ByteBufferSequence.swift",
"Concurrency/EventStream.swift",
"Concurrency/ExpiringValue.swift",
"Concurrency/FixedSizeByteBufferAsyncSequence.swift",
"Concurrency/Sequence+concurrentMap.swift",
"Credential/ConfigFileCredentialProvider.swift",
"Credential/ConfigFileLoader.swift",
"Credential/Credential+IsEmpty.swift",
"Credential/CredentialProvider.swift",
"Credential/CredentialProviderError.swift",
"Credential/CredentialProviderSelector.swift",
"Credential/DeferredCredentialProvider.swift",
"Credential/EmptyCredential.swift",
"Credential/ExpiringCredential.swift",
"Credential/MetaDataCredentialProvider.swift",
"Credential/NullCredentialProvider.swift",
"Credential/RotatingCredentialProvider.swift",
"Credential/RuntimeSelectorCredentialProvider.swift",
"Credential/STSAssumeRole.swift",
"Credential/StaticCredential+CredentialProvider.swift",
"Credential/StaticCredential+Environment.swift",
"Doc/ARN.swift",
"Doc/AWSShape.swift",
"Doc/EndpointVariant.swift",
"Doc/Environment.swift",
"Doc/Region.swift",
"Doc/ServiceProtocol.swift",
"Encoder/CodableProperties/CodableProperties.swift",
"Encoder/CodableProperties/CollectionCoders.swift",
"Encoder/CodableProperties/DateCoders.swift",
"Encoder/CodableProperties/EC2ArrayCoder.swift",
"Encoder/EventStreamDecoder.swift",
"Encoder/QueryEncoder.swift",
"Encoder/RequestContainer.swift",
"Encoder/ResponseContainer.swift",
"Errors/ClientErrors.swift",
"Errors/Error.swift",
"Errors/ServerErrors.swift",
"Exports.swift",
"HTTP/AWSHTTPBody.swift",
"HTTP/AWSHTTPClient.swift",
"HTTP/AWSHTTPRequest.swift",
"HTTP/AWSHTTPResponse+HAL.swift",
"HTTP/AWSHTTPResponse.swift",
"HTTP/AsyncHTTPClient.swift",
"HTTP/S3SignedAsyncSequence.swift",
"Middleware/Middleware.swift",
"Middleware/Middleware/EditHeadersMiddleware.swift",
"Middleware/Middleware/EndpointDiscoveryMiddleware.swift",
"Middleware/Middleware/ErrorHandlingMiddleware.swift",
"Middleware/Middleware/LoggingMiddleware.swift",
"Middleware/Middleware/RetryMiddleware.swift",
"Middleware/Middleware/S3Middleware.swift",
"Middleware/Middleware/SigningMiddleware.swift",
"Middleware/Middleware/TracingMiddleware.swift",
"Middleware/Middleware/TreeHashMiddleware.swift",
"Middleware/MiddlewareStack.swift",
"RetryPolicy.swift",
"Utils/UnsafeTransfer.swift",
"Utils/base64.swift",
"Utils/crc32.swift",
"Waiters/AWSClient+Waiter.swift",
"Waiters/Matcher.swift"
],
"target_dependencies" : [
"SotoSignerV4",
"SotoXML",
"INIParser"
],
"type" : "library"
},
{
"c99name" : "INIParserTests",
"module_type" : "SwiftTarget",
"name" : "INIParserTests",
"path" : "Tests/INIParserTests",
"sources" : [
"INIParserTests.swift"
],
"target_dependencies" : [
"INIParser"
],
"type" : "test"
},
{
"c99name" : "INIParser",
"module_type" : "SwiftTarget",
"name" : "INIParser",
"path" : "Sources/INIParser",
"product_memberships" : [
"SotoCore",
"SotoTestUtils"
],
"sources" : [
"INIParser.swift"
],
"type" : "library"
},
{
"c99name" : "CSotoExpat",
"module_type" : "ClangTarget",
"name" : "CSotoExpat",
"path" : "Sources/CSotoExpat",
"product_memberships" : [
"SotoCore",
"SotoTestUtils"
],
"sources" : [
"xmlparse.c",
"xmlrole.c",
"xmltok.c",
"xmltok_impl.c",
"xmltok_ns.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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-metrics.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2206] Fetching swift-metrics
[178/2864] Fetching swift-metrics, jmespath.swift
[536/6700] Fetching swift-metrics, jmespath.swift, swift-log
[2321/9367] Fetching swift-metrics, jmespath.swift, swift-log, swift-nio-transport-services
[9368/23381] Fetching swift-metrics, jmespath.swift, swift-log, swift-nio-transport-services, async-http-client
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.45s)
[8522/20714] Fetching swift-metrics, jmespath.swift, swift-log, async-http-client
[8523/35557] Fetching swift-metrics, jmespath.swift, swift-log, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-distributed-tracing.git
[23981/40531] Fetching swift-metrics, jmespath.swift, swift-log, async-http-client, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.10s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (1.58s)
Fetched https://github.com/apple/swift-log.git from cache (1.58s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.58s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.60s)
[1/1717] Fetching swift-atomics
[671/15653] Fetching swift-atomics, swift-crypto
[2973/91776] Fetching swift-atomics, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.40s)
[7913/90059] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.87s)
[51003/76123] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.76s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (9.30s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.64s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (3.98s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.25s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.93s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.03s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[2856/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4148/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.55s)
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.93s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/5923] Fetching swift-nio-extras
[298/17450] Fetching swift-nio-extras, swift-nio-http2
[591/23409] Fetching swift-nio-extras, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.03s)
[8841/17486] Fetching swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (2.26s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.27s)
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 (3.13s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.04s)
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.75s)
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.77s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1590] Fetching swift-asn1
[606/2731] Fetching swift-asn1, swift-http-structured-headers
[827/5157] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[5158/6061] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[5764/12216] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates
[6370/17201] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (1.81s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.82s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.88s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.88s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.88s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.82s)
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.72s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.01s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.82s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.36s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.79s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.55s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.65s)
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.82s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.99s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.83s)
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/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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.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-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-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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-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-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/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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
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/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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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
Building for debugging...
[0/818] Write sources
[26/818] Compiling CSotoExpat xmltok_impl.c
[27/818] Compiling _AtomicsShims.c
[28/818] Write sources
[39/818] Compiling _NumericsShims _NumericsShims.c
[40/818] Compiling CNIOWindows shim.c
[41/818] Compiling CNIOWindows WSAStartup.c
/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.
[42/818] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[42/818] Compiling CNIOWASI CNIOWASI.c
[42/818] Compiling CSotoExpat xmltok.c
[42/818] Compiling CNIOLinux shim.c
[42/818] Compiling CSotoExpat xmlrole.c
/host/spi-builder-workspace/Sources/CSotoExpat/xmlparse.c:847:37: warning: 'getpid' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [-Wdeprecated-declarations]
847 | entropy = gather_time_entropy() ^ getpid();
| ^
/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/unistd.h:155:16: note: 'getpid' has been explicitly marked deprecated here
155 | __attribute__((__deprecated__(
| ^
[42/818] Compiling CSotoExpat xmlparse.c
[42/818] Compiling CSotoExpat xmltok_ns.c
[42/818] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/776] Compiling CNIOExtrasZlib empty.c
[1/776] Compiling fiat_p256_adx_sqr.S
[2/776] Compiling fiat_p256_adx_mul.S
[3/776] Compiling fiat_curve25519_adx_square.S
[4/776] Compiling CSotoExpat xmltok_ns.c
[5/776] Compiling fiat_curve25519_adx_mul.S
[6/776] Compiling CNIOWASI CNIOWASI.c
[7/776] Compiling CNIOLinux shim.c
[8/776] Compiling CSotoExpat xmlrole.c
[9/776] Compiling CNIOLinux liburing_shims.c
[10/776] Write swift-version-24593BA9C3E375BF.txt
[11/776] Compiling CNIOLLHTTP c_nio_http.c
[12/776] Compiling CSotoExpat xmltok.c
[13/776] Compiling CNIOLLHTTP c_nio_api.c
[14/780] Compiling CCryptoBoringSSLShims shims.c
/host/spi-builder-workspace/Sources/CSotoExpat/xmlparse.c:847:37: warning: 'getpid' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [-Wdeprecated-declarations]
847 | entropy = gather_time_entropy() ^ getpid();
| ^
/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/unistd.h:155:16: note: 'getpid' has been explicitly marked deprecated here
155 | __attribute__((__deprecated__(
| ^
1 warning generated.
[15/782] Compiling CSotoExpat xmlparse.c
[17/800] Emitting module _NIOBase64
[17/800] Compiling CNIOLLHTTP c_nio_llhttp.c
[19/805] Compiling RealModule Real.swift
[20/805] Compiling RealModule Float80+Real.swift
[21/806] Compiling ServiceContextModule ServiceContextKey.swift
[22/806] Compiling Logging LogHandler.swift
[23/806] Compiling RealModule AlgebraicField.swift
[24/806] Compiling RealModule ApproximateEquality.swift
[25/806] Emitting module RealModule
[26/806] Compiling RealModule AugmentedArithmetic.swift
[27/806] Compiling RealModule Double+Real.swift
[28/806] Compiling SotoXML Expat.swift
/host/spi-builder-workspace/Sources/SotoXML/Expat.swift:36:8: error: Unsupported platform
34 | import Android
35 | #else
36 | #error("Unsupported platform")
| `- error: Unsupported platform
37 | #endif
38 |
[29/806] Compiling Logging Locks.swift
[29/806] Compiling c-nioatomics.c
[31/806] Compiling _NIOBase64 Base64.swift
[32/807] Compiling RealModule ElementaryFunctions.swift
[33/807] Compiling RealModule Float+Real.swift
[34/807] Compiling ServiceContextModule ServiceContext.swift
[35/807] Compiling RealModule RealFunctions.swift
[36/807] Emitting module ServiceContextModule
[37/807] Compiling RealModule Float16+Real.swift
[38/809] Compiling _NIODataStructures PriorityQueue.swift
[39/809] Compiling _NIODataStructures _TinyArray.swift
[43/833] Compiling Logging MetadataProvider.swift
[44/834] Emitting module _NIODataStructures
[45/834] Compiling _NIODataStructures Heap.swift
[47/843] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[48/844] Compiling Instrumentation NoOpInstrument.swift
[49/844] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[50/844] Compiling InternalCollectionsUtilities Debugging.swift
[51/844] Compiling InternalCollectionsUtilities Descriptions.swift
[52/844] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/844] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[54/844] Compiling InternalCollectionsUtilities UInt+reversed.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/844] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
[56/844] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
55 |
56 | deinit {
57 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
58 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
59 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
65 | /// `unlock`, to simplify lock handling.
66 | public func lockRead() {
67 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
68 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
69 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
74 | /// `unlock`, to simplify lock handling.
75 | public func lockWrite() {
76 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
77 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
78 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
83 | /// `lock`, to simplify lock handling.
84 | public func unlock() {
85 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
86 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
87 | }
[57/844] Compiling Instrumentation MultiplexInstrument.swift
[58/844] Compiling Instrumentation Instrument.swift
[59/844] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
[59/844] Compiling c-atomics.c
[60/844] Emitting module INIParser
BUILD FAILURE 6.1 wasm