Build Information
Failed to build soto-core, reference 7.7.2 (87e79a
), with Swift 6.1 for Wasm on 23 Jun 2025 19:07:54 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-core.git
Reference: 7.7.2
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.2 -> FETCH_HEAD
HEAD is now at 87e79a7 Add new regions apeast2 and euscdeeast1 (#660)
Cloned https://github.com/soto-project/soto-core.git
Revision (git rev-parse @):
87e79a75dbfb6867bc7c0d04a48791336a6682ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soto-project/soto-core.git at 7.7.2
========================================
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-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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/adam-fowler/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/async-http-client.git
[1/2667] Fetching swift-nio-transport-services
[2/6503] Fetching swift-nio-transport-services, swift-log
[1726/7161] Fetching swift-nio-transport-services, swift-log, jmespath.swift
[4608/9367] Fetching swift-nio-transport-services, swift-log, jmespath.swift, swift-metrics
[9368/23381] Fetching swift-nio-transport-services, swift-log, jmespath.swift, swift-metrics, async-http-client
[11050/38271] Fetching swift-nio-transport-services, swift-log, jmespath.swift, swift-metrics, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-metrics.git from cache (0.45s)
[10596/36065] Fetching swift-nio-transport-services, swift-log, jmespath.swift, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-distributed-tracing.git
[24452/41058] Fetching swift-nio-transport-services, swift-log, jmespath.swift, async-http-client, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.96s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.50s)
Fetching https://github.com/apple/swift-atomics.git
[25060/33398] Fetching swift-log, jmespath.swift, async-http-client, swift-nio-ssl
Fetched https://github.com/swift-server/async-http-client.git from cache (0.97s)
Fetching https://github.com/apple/swift-nio.git
[11195/19384] Fetching swift-log, jmespath.swift, swift-nio-ssl
[15812/21181] Fetching swift-log, jmespath.swift, swift-nio-ssl, swift-atomics
[21182/36614] Fetching swift-log, jmespath.swift, swift-nio-ssl, swift-atomics, swift-crypto
[21183/112953] Fetching swift-log, jmespath.swift, swift-nio-ssl, swift-atomics, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[19694/111156] Fetching swift-log, jmespath.swift, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (2.06s)
[50994/110498] Fetching swift-log, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.06s)
[47921/106662] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.09s)
[33794/91772] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.20s)
[59545/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.99s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (7.98s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.49s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.31s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.76s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[2/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.64s)
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.53s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/5975] Fetching swift-nio-extras
[479/11934] Fetching swift-nio-extras, swift-algorithms
[11876/23466] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.12s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.13s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.14s)
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 (1.80s)
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.87s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.97s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.98s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.87s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1616] Fetching swift-asn1
[777/4042] Fetching swift-asn1, swift-service-lifecycle
[972/10241] Fetching swift-asn1, swift-service-lifecycle, swift-certificates
[1985/15226] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
[2207/16130] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
[11168/15226] Fetching swift-asn1, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.72s)
[9725/12800] Fetching swift-asn1, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.97s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.97s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.06s)
[1/1169] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.52s)
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 (1.92s)
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.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.88s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.53s)
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.93s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.36s)
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 (1.16s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.14s)
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/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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.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-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/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-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/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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
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.28.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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
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/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-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
Building for debugging...
[0/818] Write sources
[15/818] Compiling CSotoExpat xmltok_impl.c
[15/818] Write sources
[37/818] Compiling _AtomicsShims.c
[38/818] Compiling _NumericsShims _NumericsShims.c
[39/818] Compiling CNIOWindows shim.c
[40/818] Compiling CNIOWindows WSAStartup.c
[41/818] Compiling CNIOWASI CNIOWASI.c
[41/818] Compiling CSotoExpat xmlrole.c
[43/818] Compiling CNIOLinux shim.c
[44/818] Compiling CNIOLinux liburing_shims.c
[45/818] Compiling CNIOLLHTTP c_nio_http.c
[46/818] Compiling CNIOExtrasZlib empty.c
[47/818] Compiling CNIODarwin shim.c
[48/818] Write swift-version-24593BA9C3E375BF.txt
[49/818] Compiling CSotoExpat xmltok_ns.c
[50/818] Compiling CNIOLLHTTP c_nio_api.c
[51/818] Compiling fiat_p256_adx_sqr.S
[52/818] Compiling fiat_p256_adx_mul.S
/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.
[53/818] Compiling CSotoExpat xmlparse.c
[54/818] Compiling CSotoExpat xmltok.c
[55/853] Compiling CNIOBoringSSLShims shims.c
[56/858] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/872] Emitting module JMESPath
[59/873] Compiling JMESPath Parser.swift
[60/873] Compiling InternalCollectionsUtilities Descriptions.swift
[61/873] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[62/873] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/874] Compiling JMESPath Runtime.swift
[64/874] Compiling JMESPath Sendable.swift
[65/874] Compiling JMESPath Token.swift
[66/874] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/874] Emitting module SotoXML
/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 |
[68/874] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[69/874] Compiling InternalCollectionsUtilities Debugging.swift
[70/874] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/874] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/874] Compiling RealModule Float80+Real.swift
[73/874] Compiling RealModule Real.swift
[74/874] Compiling RealModule ElementaryFunctions.swift
[75/875] Emitting module InternalCollectionsUtilities
[76/875] Compiling _NIODataStructures PriorityQueue.swift
[77/875] Compiling _NIODataStructures _TinyArray.swift
[78/875] Compiling ServiceContextModule ServiceContextKey.swift
[79/875] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[80/875] Compiling InternalCollectionsUtilities Integer rank.swift
[81/875] Compiling RealModule Float+Real.swift
[82/875] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[83/875] Compiling InternalCollectionsUtilities UInt+reversed.swift
[84/875] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[85/875] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[86/875] Emitting module _NIOBase64
[87/875] Compiling _NIOBase64 Base64.swift
[88/875] Compiling RealModule Float16+Real.swift
[89/875] Emitting module ServiceContextModule
[90/875] Compiling ServiceContextModule ServiceContext.swift
[91/877] Compiling RealModule RealFunctions.swift
[94/877] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[95/877] Emitting module RealModule
[102/895] Compiling Logging Locks.swift
[103/901] Emitting module _NIODataStructures
[104/901] Compiling _NIODataStructures Heap.swift
[105/906] Compiling Logging Logging.swift
[106/906] Compiling Logging LogHandler.swift
[107/906] Compiling Logging MetadataProvider.swift
[108/906] Compiling Instrumentation Instrument.swift
[109/907] Compiling DequeModule Deque+Codable.swift
[110/907] Compiling DequeModule Deque+Collection.swift
[111/907] Compiling JMESPath Variable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[113/907] 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.
[114/907] Compiling DequeModule Deque+CustomReflectable.swift
[115/907] Compiling DequeModule Deque+Descriptions.swift
[116/907] Compiling DequeModule Deque+Equatable.swift
[117/907] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[118/907] Compiling Instrumentation MultiplexInstrument.swift
[119/907] Compiling Instrumentation NoOpInstrument.swift
[120/908] 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.
[121/908] Compiling SotoXML XMLEncoder.swift
[122/908] 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 | }
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
[126/908] Emitting module INIParser
[127/908] Compiling SotoXML XML.swift
[128/908] 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 |
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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/762] Compiling fiat_curve25519_adx_square.S
[1/762] Compiling fiat_curve25519_adx_mul.S
[2/762] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[3/762] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/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.
[3/762] Compiling tls_method.cc
[3/762] Compiling tls13_enc.cc
[3/762] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
| ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
| ^~~~~~~~~~~
[3/762] Compiling tls13_client.cc
[3/762] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/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>
| ^~~~~~~~~~~
[3/762] Compiling tls13_server.cc
[3/762] Compiling ssl_x509.cc
BUILD FAILURE 6.1 wasm