The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build soto-core, reference main (b7b0ab), with Swift 6.1 for Wasm on 12 Aug 2025 17:45:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-core.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/soto-project/soto-core
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7b0abe Bump actions/checkout from 4 to 5 in the dependencies group (#666)
Cloned https://github.com/soto-project/soto-core.git
Revision (git rev-parse @):
b7b0abe8ac48a4056b1b5751b00726cccb8a9da7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soto-project/soto-core.git at main
========================================
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/jmespath/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-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/jmespath/jmespath.swift.git
[1/653] Fetching jmespath.swift
[139/3354] Fetching jmespath.swift, swift-nio-transport-services
[2653/5573] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics
[5574/9459] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, swift-log
[9460/23546] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
[9236/19660] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, async-http-client
[9237/34663] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-distributed-tracing.git
[22362/39779] Fetching jmespath.swift, swift-nio-transport-services, swift-metrics, async-http-client, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (1.76s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.28s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/jmespath/jmespath.swift.git from cache (1.91s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.91s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.93s)
[1/1808] Fetching swift-atomics
[707/18046] Fetching swift-atomics, swift-crypto
[2459/95437] Fetching swift-atomics, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
[36240/93629] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.97s)
[55722/77391] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.05s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (8.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.59s)
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.69s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.29s)
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.96s)
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 (1.20s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6127] Fetching swift-nio-extras
[3616/12095] Fetching swift-nio-extras, swift-algorithms
[4944/23756] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.62s)
[8767/17629] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.54s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.55s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (2.04s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.81s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4847] Fetching swift-system
[2619/21800] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4408/16953] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.48s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.17s)
Fetching https://github.com/apple/swift-numerics.git
[1/5917] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.50s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.61s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.70s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/1629] Fetching swift-asn1
[897/2546] Fetching swift-asn1, swift-http-types
[2547/3722] Fetching swift-asn1, swift-http-types, swift-http-structured-headers
[2606/10182] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-certificates
[3165/12615] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-certificates, swift-service-lifecycle
[3560/17625] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
[7202/16708] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
[13529/15079] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.59s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
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.18s)
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.83s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.70s)
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.80s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (0.76s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (1.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.60s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.47s)
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-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.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.12.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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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.25.1
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.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.4
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-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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
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.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.3.0
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
Building for debugging...
[0/827] Write sources
[11/827] Compiling CSotoExpat xmltok_impl.c
[12/827] Write sources
[37/827] Compiling _NumericsShims _NumericsShims.c
[38/827] Compiling CNIOWindows shim.c
[39/827] Compiling _AtomicsShims.c
[40/827] Compiling CSotoExpat xmlrole.c
[41/827] Compiling CNIOWindows WSAStartup.c
[41/827] Compiling CNIOWASI CNIOWASI.c
[43/827] Compiling CNIOLinux liburing_shims.c
[43/827] Compiling CNIOPosix event_loop_id.c
[45/827] Compiling CNIOLinux shim.c
[46/827] Compiling CNIOLLHTTP c_nio_http.c
[47/827] Compiling CNIOExtrasZlib empty.c
[48/827] Compiling CNIODarwin shim.c
[49/827] Compiling CSotoExpat xmltok_ns.c
[50/827] Write swift-version-24593BA9C3E375BF.txt
[51/827] Compiling fiat_p256_adx_sqr.S
[52/827] Compiling CNIOLLHTTP c_nio_api.c
[53/827] Compiling fiat_p256_adx_mul.S
[54/827] Compiling fiat_curve25519_adx_square.S
[55/843] Compiling CSotoExpat xmltok.c
[57/846] Emitting module ServiceContextModule
/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.
[57/846] Compiling CSotoExpat xmlparse.c
[59/851] Emitting module _NIOBase64
[59/851] Compiling CNIOBoringSSLShims shims.c
[61/856] Emitting module RealModule
[61/868] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/868] 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 |
[64/882] Emitting module JMESPath
[65/882] Compiling JMESPath Sendable.swift
[66/883] Compiling JMESPath Token.swift
[67/883] Compiling JMESPath Runtime.swift
[68/883] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/884] Compiling RealModule RealFunctions.swift
[70/884] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[71/884] Compiling InternalCollectionsUtilities Debugging.swift
[72/884] Compiling InternalCollectionsUtilities Descriptions.swift
[73/884] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[74/884] Compiling RealModule Real.swift
[75/884] Compiling RealModule ElementaryFunctions.swift
[76/884] Compiling RealModule Float16+Real.swift
[77/884] Compiling RealModule Float80+Real.swift
[78/884] Compiling RealModule Float+Real.swift
[79/884] Compiling _NIOBase64 Base64.swift
[80/884] Compiling ServiceContextModule ServiceContextKey.swift
[81/884] Compiling ServiceContextModule ServiceContext.swift
[82/884] Compiling Logging Locks.swift
[83/884] Compiling _NIODataStructures PriorityQueue.swift
[84/884] Compiling _NIODataStructures _TinyArray.swift
[85/886] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[86/886] Compiling InternalCollectionsUtilities Integer rank.swift
[87/886] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[88/886] Compiling InternalCollectionsUtilities UInt+reversed.swift
[94/887] Compiling JMESPath Parser.swift
[95/889] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[96/898] Emitting module InternalCollectionsUtilities
[97/898] Compiling Instrumentation NoOpInstrument.swift
[100/898] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[101/898] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[102/898] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[103/898] Compiling InternalCollectionsUtilities _SortedCollection.swift
[104/899] 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 |     }
[105/899] Compiling Instrumentation MultiplexInstrument.swift
[106/899] Compiling Instrumentation Instrument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/899] 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.
[108/899] 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.
[109/899] Emitting module INIParser
[110/899] Compiling CoreMetrics Locks.swift
/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)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 70 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 71 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
 76 |         // SRWLOCK does not need to be free'd
 77 |         #else
 78 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 79 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 80 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
 90 |         AcquireSRWLockExclusive(self.mutex)
 91 |         #else
 92 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 93 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 94 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 |         ReleaseSRWLockExclusive(self.mutex)
104 |         #else
105 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
106 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 |         #endif
177 |         self.rwlock.deallocate()
    |              `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 |     }
179 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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/769] Compiling fiat_curve25519_adx_mul.S
[1/769] Write swift-version-24593BA9C3E375BF.txt
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>
      |          ^~~~~~~~~~~
1 error generated.
[2/769] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[2/769] Compiling tls_method.cc
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>
      |          ^~~~~~~~~~~
[2/769] Compiling tls13_client.cc
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>
      |          ^~~~~~~~~~~
[2/769] Compiling t1_enc.cc
[2/769] Compiling ssl_x509.cc
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>
      |          ^~~~~~~~~~~
[2/769] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/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>
      |          ^~~~~~~~~~~
[2/769] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[2/769] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm