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 MistKit, reference 0.2.4 (5900c2), with Swift 6.1 for Wasm on 28 May 2025 01:56:38 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/brightdigit/MistKit.git
Reference: 0.2.4
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/brightdigit/MistKit
 * tag               0.2.4      -> FETCH_HEAD
HEAD is now at 5900c20 Version 0.2.4
Cloned https://github.com/brightdigit/MistKit.git
Revision (git rev-parse @):
5900c20b7af1a65fc02a066987a1e374e68b4a40
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/MistKit.git at 0.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/MistKit.git
https://github.com/brightdigit/MistKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.20.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent.git"
    },
    {
      "identity" : "fluent-sqlite-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-sqlite-driver.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "MistKit",
  "name" : "MistKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MistKit",
      "targets" : [
        "MistKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MistKitNIO",
      "targets" : [
        "MistKitNIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MistKitVapor",
      "targets" : [
        "MistKitVapor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "mistdemoc",
      "targets" : [
        "mistdemoc"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "mistdemod",
      "targets" : [
        "mistdemod"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "mistdemod",
      "module_type" : "SwiftTarget",
      "name" : "mistdemod",
      "path" : "Sources/mistdemod",
      "product_dependencies" : [
        "Vapor",
        "Fluent",
        "FluentSQLiteDriver"
      ],
      "product_memberships" : [
        "mistdemod"
      ],
      "sources" : [
        "Controllers/CloudKitController.swift",
        "Controllers/ItemsController.swift",
        "Controllers/UsersController.swift",
        "Extensions/Application.swift",
        "Extensions/MKDatabase.swift",
        "Extensions/Request.swift",
        "Models/CreateUser.swift",
        "Models/TodoItemModel.swift",
        "Models/User.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MistKit",
        "MistKitVapor",
        "MistKitDemo"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "mistdemoc",
      "module_type" : "SwiftTarget",
      "name" : "mistdemoc",
      "path" : "Sources/mistdemoc",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "mistdemoc"
      ],
      "sources" : [
        "Commands/DeleteCommand.swift",
        "Commands/FindCommand.swift",
        "Commands/ListCommand.swift",
        "Commands/MistDemoCommand.swift",
        "Commands/NewCommand.swift",
        "Commands/ParsableAsyncCommand.swift",
        "Commands/RenameCommand.swift",
        "Commands/WhoAmICommand.swift",
        "Configuration/MistDemoArguments.swift",
        "Extensions/MKEnvironment.swift",
        "Extensions/Result.swift",
        "Extensions/UUID.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MistKit",
        "MistKitNIO",
        "MistKitDemo"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MistKitVapor",
      "module_type" : "SwiftTarget",
      "name" : "MistKitVapor",
      "path" : "Sources/MistKitVapor",
      "product_dependencies" : [
        "Vapor",
        "Fluent"
      ],
      "product_memberships" : [
        "MistKitVapor",
        "mistdemod"
      ],
      "sources" : [
        "MKModelStorable.swift",
        "MKServerResponse.swift",
        "MKVaporClient.swift",
        "MKVaporClientRequest.swift",
        "MKVaporClientResponse.swift",
        "MKVaporModelStorage.swift",
        "MKVaporSessionStorage.swift"
      ],
      "target_dependencies" : [
        "MistKit",
        "MistKitNIO"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MistKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MistKitTests",
      "path" : "Tests/MistKitTests",
      "sources" : [
        "Authentication/CharacterMapEncoderTests.swift",
        "Authentication/MKAuthenticationRedirectTests.swift",
        "Authentication/MKAuthenticationResponseTests.swift",
        "Authentication/MKFileStorageTests.swift",
        "Authentication/MKStaticTokenManagerTests.swift",
        "Authentication/MKTokenClientTests.swift",
        "Authentication/MKTokenEncoderTests.swift",
        "Authentication/MKTokenManagerProtocolTests.swift",
        "Authentication/MKTokenManagerTests.swift",
        "Authentication/MKTokenStorageTests.swift",
        "Authentication/MKUserDefaultsStorageTests.swift",
        "Configuration/MKAPIVersionTests.swift",
        "Configuration/MKDatabaseConnectionTests.swift",
        "Configuration/MKDatabaseTypeTests.swift",
        "Configuration/MKEnvironmentTests.swift",
        "Controllers/MKDatabaseTests.swift",
        "Controllers/RecordNameParserTests.swift",
        "Controllers/RequestConfigurationFactoryTests.swift",
        "Controllers/ResultSinkTests.swift",
        "Controllers/ResultTransformerTests.swift",
        "Extensions/ArrayTests.swift",
        "Extensions/JSONDecoderTests.swift",
        "Extensions/JSONEncoderTests.swift",
        "Extensions/StringTests.swift",
        "Extensions/UUIDTests.swift",
        "Models/MKAnyQueryTests.swift",
        "Models/MKAnyRecordTests.swift",
        "Models/MKDecodingErrorTests.swift",
        "Models/MKErrorCodeTests.swift",
        "Models/MKErrorTests.swift",
        "Models/MKFieldTypeTests.swift",
        "Models/MKServerResponseTests.swift",
        "Models/MKValueTests.swift",
        "Models/ModifiedRecordQueryContentTests.swift",
        "Models/RecordNameTests.swift",
        "Models/RequestConfigurationTests.swift",
        "Protocols/MKContentRecordTests.swift",
        "Protocols/MKDecodableTests.swift",
        "Protocols/MKDecoderTests.swift",
        "Protocols/MKEncodableTests.swift",
        "Protocols/MKEncoderTests.swift",
        "Protocols/MKQueryProtocolTests.swift",
        "Protocols/MKQueryRecordTests.swift",
        "Protocols/MKQueryTests.swift",
        "Protocols/MKRequestTests.swift",
        "Protocols/RequestConfigurationFactoryProtocolTests.swift",
        "Protocols/ResultSinkProtocolTests.swift",
        "Protocols/ResultTransformerProtocolTests.swift",
        "Requests/RecordsLookup/LookupRecordQueryRequestTests.swift",
        "Requests/RecordsLookup/LookupRecordQueryTests.swift",
        "Requests/RecordsLookup/LookupRecordTests.swift",
        "Requests/RecordsModify/ModifiedRecordQueryResponseTests.swift",
        "Requests/RecordsModify/ModifiedRecordQueryResultTests.swift",
        "Requests/RecordsModify/ModifiedRecordTests.swift",
        "Requests/RecordsModify/ModifyOperationTests.swift",
        "Requests/RecordsModify/ModifyOperationTypeTests.swift",
        "Requests/RecordsModify/ModifyRecordQueryRequestTests.swift",
        "Requests/RecordsModify/ModifyRecordQueryTests.swift",
        "Requests/RecordsQuery/FetchRecordQueryRequestTests.swift",
        "Requests/RecordsQuery/FetchRecordQueryResponseTests.swift",
        "Requests/RecordsQuery/FetchRecordQueryTests.swift",
        "Requests/UsersCaller/GetCurrentUserIdentityRequestTests.swift",
        "Requests/UsersCaller/UserIdentityLookupInfoTests.swift",
        "Requests/UsersCaller/UserIdentityNameComponentsTests.swift",
        "Requests/UsersCaller/UserIdentityResponseTests.swift",
        "URLNetworking/MKDatabase.URLSessionTests.swift",
        "URLNetworking/MKEmptyGetTests.swift",
        "URLNetworking/MKHttpClientTests.swift",
        "URLNetworking/MKHttpRequestTests.swift",
        "URLNetworking/MKHttpResponseTests.swift",
        "URLNetworking/MKURLBuilderFactoryTests.swift",
        "URLNetworking/MKURLBuilderTests.swift",
        "URLNetworking/MKURLRequestTests.swift",
        "URLNetworking/MKURLResponseTests.swift",
        "URLNetworking/MKURLSessionClientTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MistKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MistKitNIO",
      "module_type" : "SwiftTarget",
      "name" : "MistKitNIO",
      "path" : "Sources/MistKitNIO",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "MistKitNIO",
        "MistKitVapor",
        "mistdemoc",
        "mistdemod"
      ],
      "sources" : [
        "BindTo.swift",
        "HTTPHandler.swift",
        "MKAsyncClient.swift",
        "MKAsyncRequest.swift",
        "MKAsyncResponse.swift",
        "MKDatabase.swift",
        "MKNIOHTTP1Error.swift",
        "MKNIOHTTP1TokenClient.swift"
      ],
      "target_dependencies" : [
        "MistKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MistKitDemo",
      "module_type" : "SwiftTarget",
      "name" : "MistKitDemo",
      "path" : "Sources/MistKitDemo",
      "product_memberships" : [
        "mistdemoc",
        "mistdemod"
      ],
      "sources" : [
        "MistDemoConfiguration.swift",
        "MistDemoDefaultConfiguration.swift",
        "TodoListItem.swift"
      ],
      "target_dependencies" : [
        "MistKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MistKit",
      "module_type" : "SwiftTarget",
      "name" : "MistKit",
      "path" : "Sources/MistKit",
      "product_memberships" : [
        "MistKit",
        "MistKitNIO",
        "MistKitVapor",
        "mistdemoc",
        "mistdemod"
      ],
      "sources" : [
        "Authentication/CharacterMapEncoder.swift",
        "Authentication/MKAuthenticationRedirect.swift",
        "Authentication/MKAuthenticationResponse.swift",
        "Authentication/MKFileStorage.swift",
        "Authentication/MKStaticTokenManager.swift",
        "Authentication/MKTokenClient.swift",
        "Authentication/MKTokenEncoder.swift",
        "Authentication/MKTokenManager.swift",
        "Authentication/MKTokenManagerProtocol.swift",
        "Authentication/MKTokenStorage.swift",
        "Authentication/MKUserDefaultsStorage.swift",
        "Configuration/MKAPIVersion.swift",
        "Configuration/MKDatabaseConnection.Query.swift",
        "Configuration/MKDatabaseConnection.swift",
        "Configuration/MKDatabaseType.swift",
        "Configuration/MKEnvironment.swift",
        "Controllers/MKDatabase.swift",
        "Controllers/RecordNameParser.swift",
        "Controllers/RequestConfigurationFactory.swift",
        "Controllers/ResultSink.swift",
        "Controllers/ResultTransformer.swift",
        "Extensions/Array.swift",
        "Extensions/JSONDecoder.swift",
        "Extensions/JSONEncoder.swift",
        "Extensions/String.swift",
        "Extensions/UUID.swift",
        "Models/MKAnyQuery.swift",
        "Models/MKAnyRecord.swift",
        "Models/MKAsset.swift",
        "Models/MKDecodingError.swift",
        "Models/MKError.swift",
        "Models/MKErrorCode.swift",
        "Models/MKFieldType.swift",
        "Models/MKLocation.swift",
        "Models/MKServerResponse.swift",
        "Models/MKValue.swift",
        "Models/ModifiedRecordQueryContent.swift",
        "Models/RecordName.swift",
        "Models/RequestConfiguration.swift",
        "Protocols/MKContentRecord.swift",
        "Protocols/MKDecodable.swift",
        "Protocols/MKDecoder.swift",
        "Protocols/MKEncodable.swift",
        "Protocols/MKEncoder.swift",
        "Protocols/MKQuery.swift",
        "Protocols/MKQueryProtocol.swift",
        "Protocols/MKQueryRecord.swift",
        "Protocols/MKRequest.swift",
        "Protocols/RequestConfigurationFactoryProtocol.swift",
        "Protocols/ResultSinkProtocol.swift",
        "Protocols/ResultTransformerProtocol.swift",
        "Requests/RecordsLookup/LookupRecord.swift",
        "Requests/RecordsLookup/LookupRecordQuery.swift",
        "Requests/RecordsLookup/LookupRecordQueryRequest.swift",
        "Requests/RecordsModify/ModifiedRecord.swift",
        "Requests/RecordsModify/ModifiedRecordQueryResponse.swift",
        "Requests/RecordsModify/ModifiedRecordQueryResult.swift",
        "Requests/RecordsModify/ModifyOperation.swift",
        "Requests/RecordsModify/ModifyOperationType.swift",
        "Requests/RecordsModify/ModifyRecordQuery.swift",
        "Requests/RecordsModify/ModifyRecordQueryRequest.swift",
        "Requests/RecordsQuery/FetchRecordQuery.swift",
        "Requests/RecordsQuery/FetchRecordQueryRequest.swift",
        "Requests/RecordsQuery/FetchRecordQueryResponse.swift",
        "Requests/UsersCaller/GetCurrentUserIdentityRequest.swift",
        "Requests/UsersCaller/UserIdentityLookupInfo.swift",
        "Requests/UsersCaller/UserIdentityNameComponents.swift",
        "Requests/UsersCaller/UserIdentityResponse.swift",
        "URLNetworking/MKDatabase.URLSession.swift",
        "URLNetworking/MKEmptyGet.swift",
        "URLNetworking/MKHttpClient.swift",
        "URLNetworking/MKHttpRequest.swift",
        "URLNetworking/MKHttpResponse.swift",
        "URLNetworking/MKURLBuilder.swift",
        "URLNetworking/MKURLBuilderFactory.swift",
        "URLNetworking/MKURLBuilderProtocol.swift",
        "URLNetworking/MKURLRequest.swift",
        "URLNetworking/MKURLResponse.swift",
        "URLNetworking/MKURLSessionClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/vapor/fluent.git
[1/1347] Fetching fluent-sqlite-driver
[1348/14768] Fetching fluent-sqlite-driver, fluent
[6583/28782] Fetching fluent-sqlite-driver, fluent, async-http-client
[7564/103160] Fetching fluent-sqlite-driver, fluent, async-http-client, vapor
[17155/118511] Fetching fluent-sqlite-driver, fluent, async-http-client, vapor, swift-argument-parser
[30198/194566] Fetching fluent-sqlite-driver, fluent, async-http-client, vapor, swift-argument-parser, swift-nio
Fetched https://github.com/vapor/fluent.git from cache (1.25s)
[90126/181145] Fetching fluent-sqlite-driver, async-http-client, vapor, swift-argument-parser, swift-nio
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (2.82s)
[178277/179798] Fetching async-http-client, vapor, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (2.83s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.83s)
[150433/150433] Fetching vapor, swift-nio
Fetched https://github.com/vapor/vapor.git from cache (3.35s)
Fetched https://github.com/apple/swift-nio.git from cache (6.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (8.24s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.12.0 (0.64s)
Fetching https://github.com/vapor/fluent-kit.git
[1/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.74s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (1.60s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
[1/5983] Fetching sql-kit
[121/9819] Fetching sql-kit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.30s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.66s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (4.19s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[532/6101] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.15s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (0.65s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2112] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (1.07s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (2.20s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
[1/1508] Fetching sqlite-nio
[2/3878] Fetching sqlite-nio, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (2.85s)
Fetched https://github.com/vapor/sqlite-nio.git from cache (2.87s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (3.77s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.57s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.36s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (3.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (8.47s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.3 (3.32s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.88s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-metrics.git
[1/3319] Fetching multipart-kit
[831/5928] Fetching multipart-kit, websocket-kit
[2008/8134] Fetching multipart-kit, websocket-kit, swift-metrics
[2341/13108] Fetching multipart-kit, websocket-kit, swift-metrics, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (0.61s)
[8912/10902] Fetching multipart-kit, websocket-kit, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.86s)
Fetching https://github.com/apple/swift-nio-ssl.git
[4237/17455] Fetching multipart-kit, websocket-kit, swift-nio-http2
[5275/23369] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-extras
[7688/24432] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-extras, swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.55s)
Fetching https://github.com/vapor/routing-kit.git
[12709/38212] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.80s)
Fetching https://github.com/apple/swift-crypto.git
[8807/32298] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-ssl
[10800/53025] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-ssl, routing-kit
[30997/66961] Fetching multipart-kit, websocket-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/vapor/websocket-kit.git from cache (3.42s)
[48909/64352] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/multipart-kit.git from cache (3.58s)
[45841/61033] Fetching swift-nio-http2, swift-nio-ssl, routing-kit, swift-crypto
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.29s)
[34759/49506] Fetching swift-nio-ssl, routing-kit, swift-crypto
[35745/55083] Fetching swift-nio-ssl, routing-kit, swift-crypto, console-kit
Fetched https://github.com/vapor/routing-kit.git from cache (2.69s)
[18251/34356] Fetching swift-nio-ssl, swift-crypto, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.84s)
[21115/28779] Fetching swift-nio-ssl, swift-crypto
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.95s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.35s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (6.88s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.77s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.83s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.44s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (1.28s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.94s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (1.12s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/904] Fetching swift-http-types
[173/2494] Fetching swift-http-types, swift-asn1
[1891/3635] Fetching swift-http-types, swift-asn1, swift-http-structured-headers
[2290/6061] Fetching swift-http-types, swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[3156/11046] Fetching swift-http-types, swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[3298/17201] Fetching swift-http-types, swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.62s)
[5171/16297] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.84s)
[11963/13871] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.05s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.18s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.19s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.20s)
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 (2.13s)
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.07s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.05s)
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.72s)
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 (4.42s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.92s)
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.84s)
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.77s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.70s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.60s)
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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.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.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.4.2
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.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/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.12.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.83.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.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-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-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-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-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-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-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-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/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.0
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.11.3
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
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/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.8.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
Building for debugging...
[0/915] Write sources
[10/915] Compiling bsaes-armv7-linux.S
[10/915] Write sources
[12/915] Compiling bn-armv8-apple.S
[13/915] Write sources
[17/915] Compiling ghash-armv4-linux.S
[17/915] Write sources
[61/915] Compiling bn-armv8-win.S
[62/915] Compiling _NumericsShims _NumericsShims.c
[63/915] Compiling _AtomicsShims.c
[64/915] Compiling co-586-apple.S
[65/915] Compiling bn-armv8-linux.S
[66/915] Compiling co-586-linux.S
[67/915] Compiling CSystem shims.c
[68/915] Compiling CNIOWindows shim.c
[69/915] Compiling CVaporBcrypt bcrypt.c
[70/915] Compiling CVaporBcrypt blf.c
[71/915] Compiling CNIOLinux liburing_shims.c
[71/915] Compiling CNIOLinux shim.c
[71/915] Compiling CNIOWASI CNIOWASI.c
[71/915] Compiling CNIOWindows WSAStartup.c
[75/915] Compiling CNIOLLHTTP c_nio_http.c
[76/915] Compiling CNIOSHA1 c_nio_sha1.c
[77/915] Compiling CNIODarwin shim.c
[78/915] Compiling CNIOExtrasZlib empty.c
[79/915] Write swift-version-24593BA9C3E375BF.txt
[80/915] Compiling fiat_p256_adx_sqr.S
[81/915] Compiling CNIOLLHTTP c_nio_api.c
[82/915] Compiling fiat_p256_adx_mul.S
[83/915] Compiling fiat_curve25519_adx_square.S
[84/915] Compiling fiat_curve25519_adx_mul.S
[85/921] Compiling CNIOBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29705:10: fatal error: 'pthread.h' file not found
 29705 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[86/1033] Compiling CSQLite sqlite_nio_sqlite3.c
[86/1033] Compiling CNIOLLHTTP c_nio_llhttp.c
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/829] Write sources
[1/830] Compiling fiat_p256_adx_sqr.S
[2/830] Compiling md5-x86_64-linux.S
[3/830] Compiling fiat_curve25519_adx_square.S
[4/830] Compiling fiat_curve25519_adx_mul.S
[5/830] Compiling fiat_p256_adx_mul.S
[6/830] Compiling md5-x86_64-apple.S
[7/830] Write swift-version-24593BA9C3E375BF.txt
[8/830] Compiling CCryptoBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29705:10: fatal error: 'pthread.h' file not found
 29705 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[9/834] Compiling CSQLite sqlite_nio_sqlite3.c
[10/834] Emitting module _NIODataStructures
[10/834] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[10/834] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[10/834] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[10/834] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[10/834] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[10/834] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm