Build Information
Failed to build yubatake, reference master (36585b
), with Swift 6.1 for Wasm on 28 May 2025 00:29:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rb-de0/yubatake.git
Reference: master
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/rb-de0/yubatake
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 36585bc Merge pull request #138 from rb-de0/add-redis-flag
Cloned https://github.com/rb-de0/yubatake.git
Revision (git rev-parse @):
36585bc5a213d9d88948c5be3b9533ea517bd5ec
SUCCESS checkout https://github.com/rb-de0/yubatake.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rb-de0/yubatake.git
https://github.com/rb-de0/yubatake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "poppo",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rb-de0/Poppo.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor-community/markdown.git"
},
{
"identity" : "leaf",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/leaf.git"
},
{
"identity" : "fluent-mysql-driver",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-mysql-driver.git"
},
{
"identity" : "fluent",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent.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" : "redis",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/redis.git"
},
{
"identity" : "csrf",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor-community/CSRF.git"
},
{
"identity" : "swiftyjson",
"requirement" : {
"branch" : [
"rename-nsnumber-comparison-operators"
]
},
"type" : "sourceControl",
"url" : "https://github.com/diskshima/SwiftyJSON.git"
},
{
"identity" : "vaporsecurityheaders",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brokenhandsio/VaporSecurityHeaders.git"
}
],
"manifest_display_name" : "yubatake",
"name" : "yubatake",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Run",
"targets" : [
"Run"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "YubatakeTests",
"module_type" : "SwiftTarget",
"name" : "YubatakeTests",
"path" : "Tests/YubatakeTests",
"product_dependencies" : [
"XCTVapor"
],
"sources" : [
"TestCases/API/APIFileControllerTests.swift",
"TestCases/API/APIImageControllerTests.swift",
"TestCases/API/APIThemeControllerTests.swift",
"TestCases/Controllers/Admin/AdminCategoryControllerTests.swift",
"TestCases/Controllers/Admin/AdminImageControllerTests.swift",
"TestCases/Controllers/Admin/AdminPostControllerTests.swift",
"TestCases/Controllers/Admin/AdminSiteInfoControllerTests.swift",
"TestCases/Controllers/Admin/AdminTagControllerTests.swift",
"TestCases/Controllers/Admin/AdminThemeControllerTests.swift",
"TestCases/Controllers/Admin/AdminUserControllerTests.swift",
"TestCases/Controllers/Admin/LoginControllerTests.swift",
"TestCases/Controllers/Middleware/PublicFileMiddlewareTests.swift",
"TestCases/Controllers/Public/PostControllerTests.swift",
"TestCases/Repository/ImageRepositoryTests.swift",
"TestCases/Routing/RoutingSecureGuardTests.swift",
"TestServices/TestImageFileRepository.swift",
"TestTools/AlwaysAuthMiddleware.swift",
"TestTools/ApplicationBuilder.swift",
"TestTools/ControllerTestCase.swift",
"TestTools/DataMaker.swift",
"TestTools/DatabaseUtil.swift",
"TestTools/TestViewDecorator.swift"
],
"target_dependencies" : [
"App"
],
"type" : "test"
},
{
"c99name" : "Run",
"module_type" : "SwiftTarget",
"name" : "Run",
"path" : "Sources/Run",
"product_memberships" : [
"Run"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"App"
],
"type" : "executable"
},
{
"c99name" : "App",
"module_type" : "SwiftTarget",
"name" : "App",
"path" : "Sources/App",
"product_dependencies" : [
"Fluent",
"FluentMySQLDriver",
"Vapor",
"Leaf",
"Redis",
"CSRF",
"Poppo",
"SwiftSoup",
"SwiftyJSON",
"VaporSecurityHeaders",
"SwiftMarkdown"
],
"product_memberships" : [
"Run"
],
"sources" : [
"Application/ApplicationError.swift",
"Application/LifeCycle/InitialDataProvider.swift",
"Application/Services/Core/EncodableWrapper.swift",
"Application/Services/Core/PageResponse.swift",
"Application/Services/Core/ResponseContent.swift",
"Application/Services/Helper/ImageNameGenerator.swift",
"Application/Services/Helper/StupidPasswordHasher.swift",
"Application/Services/Repository/CSRFViewDecorator.swift",
"Application/Services/Repository/FileRepository.swift",
"Application/Services/Repository/ImageRepository.swift",
"Application/Services/Repository/TwitterRepository.swift",
"Application/Services/View/LeafDataEncoder.swift",
"Application/Services/View/ViewCreator.swift",
"Application/Services/View/ViewDecorator.swift",
"Config/ConfigJSONLoader.swift",
"Config/Configs/ApplicationConfig.swift",
"Config/Configs/CSPConfig.swift",
"Config/Configs/FileConfig.swift",
"Config/Configs/MySQLDatabaseConfig.swift",
"Controllers/API/API+FileController.swift",
"Controllers/API/API+ImageController.swift",
"Controllers/API/API+ThemeController.swift",
"Controllers/API/APINameSpace.swift",
"Controllers/Admin/AdminCategoryController.swift",
"Controllers/Admin/AdminImageController.swift",
"Controllers/Admin/AdminPostController.swift",
"Controllers/Admin/AdminSiteInfoController.swift",
"Controllers/Admin/AdminTagController.swift",
"Controllers/Admin/AdminThemeController.swift",
"Controllers/Admin/AdminUserController.swift",
"Controllers/Admin/LoginController.swift",
"Controllers/Admin/LogoutController.swift",
"Controllers/Public/PostController.swift",
"Extension/Array+Util.swift",
"Extension/FileManager+Util.swift",
"Extension/String+Markdown.swift",
"Extension/String+Util.swift",
"Middleware/AuthErrorMiddleware.swift",
"Middleware/MessageDeliveryMiddleware.swift",
"Middleware/PublicFileMiddleware.swift",
"Models/Dto/EditableFile.swift",
"Models/Dto/ImageGroup.swift",
"Models/Dto/Theme.swift",
"Models/Form/CategoryForm.swift",
"Models/Form/DestoryItemForm.swift",
"Models/Form/EditableFileForm.swift",
"Models/Form/EditableFileUpdateForm.swift",
"Models/Form/ImageForm.swift",
"Models/Form/ImageUploadForm.swift",
"Models/Form/LoginForm.swift",
"Models/Form/PostForm.swift",
"Models/Form/Protocol/Form.swift",
"Models/Form/SiteInfoForm.swift",
"Models/Form/TagForm.swift",
"Models/Form/ThemeForm.swift",
"Models/Form/UserForm.swift",
"Models/Scheme/Category.swift",
"Models/Scheme/Image.swift",
"Models/Scheme/Post.swift",
"Models/Scheme/PostTag.swift",
"Models/Scheme/SiteInfo.swift",
"Models/Scheme/Tag.swift",
"Models/Scheme/User.swift",
"Routes/APIRoutes.swift",
"Routes/AdminRoutes.swift",
"Routes/PublicRoutes.swift",
"Views/Admin/AdminMenuType.swift",
"Views/Admin/AdminViewContext.swift",
"Views/Error/FormError.swift",
"Views/Public/PublicViewContext.swift",
"Views/Tags/LeafTags.swift",
"configure.swift",
"routes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/diskshima/SwiftyJSON.git
[1/3270] Fetching swiftyjson
Fetched https://github.com/diskshima/SwiftyJSON.git from cache (0.35s)
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor-community/CSRF.git
Fetching https://github.com/brokenhandsio/VaporSecurityHeaders.git
Fetching https://github.com/vapor/fluent-mysql-driver.git
Fetching https://github.com/vapor/vapor.git
[1/214] Fetching csrf
[215/2988] Fetching csrf, fluent-mysql-driver
[299/4057] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders
[415/7808] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, redis
[5210/21229] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, redis, fluent
Fetched https://github.com/vapor/redis.git from cache (0.49s)
[8218/17478] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, fluent
Fetching https://github.com/vapor/leaf.git
[9293/91856] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, fluent, vapor
[20220/95812] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, fluent, vapor, leaf
Fetched https://github.com/vapor/leaf.git from cache (0.48s)
Fetching https://github.com/vapor-community/markdown.git
Fetched https://github.com/vapor/fluent.git from cache (1.30s)
Fetching https://github.com/scinfu/SwiftSoup.git
[18933/78435] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor
[18934/78681] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor, markdown
Fetched https://github.com/vapor-community/markdown.git from cache (0.43s)
Fetching https://github.com/rb-de0/Poppo.git
[21948/78435] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor
[23397/82343] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor, swiftsoup
[26254/82494] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor, swiftsoup, poppo
Fetched https://github.com/rb-de0/Poppo.git from cache (0.34s)
[32044/82343] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.81s)
[54635/78435] Fetching csrf, fluent-mysql-driver, vaporsecurityheaders, vapor
Fetched https://github.com/vapor-community/CSRF.git from cache (3.21s)
Fetched https://github.com/brokenhandsio/VaporSecurityHeaders.git from cache (3.21s)
Fetched https://github.com/vapor/fluent-mysql-driver.git from cache (3.21s)
Fetched https://github.com/vapor/vapor.git from cache (3.24s)
Computing version for https://github.com/rb-de0/Poppo.git
Computed https://github.com/rb-de0/Poppo.git at 1.1.0 (4.76s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.47s)
Computing version for https://github.com/brokenhandsio/VaporSecurityHeaders.git
Computed https://github.com/brokenhandsio/VaporSecurityHeaders.git at 3.2.0 (1.49s)
Computing version for https://github.com/vapor-community/CSRF.git
Computed https://github.com/vapor-community/CSRF.git at 3.1.1 (0.49s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.52s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.57s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.07s)
Computing version for https://github.com/vapor/fluent-mysql-driver.git
Computed https://github.com/vapor/fluent-mysql-driver.git at 4.7.1 (0.48s)
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/mysql-kit.git
[1/5151] Fetching mysql-kit
[5152/8987] Fetching mysql-kit, swift-log
[6725/22315] Fetching mysql-kit, swift-log, fluent-kit
Fetched https://github.com/apple/swift-log.git from cache (0.40s)
[17946/18479] Fetching mysql-kit, fluent-kit
Fetched https://github.com/vapor/mysql-kit.git from cache (0.52s)
Fetched https://github.com/vapor/fluent-kit.git from cache (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.02s)
Computing version for https://github.com/vapor/mysql-kit.git
Computed https://github.com/vapor/mysql-kit.git at 4.10.0 (0.49s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/mysql-nio.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/sql-kit.git
[1/2217] Fetching mysql-nio
[157/4587] Fetching mysql-nio, async-kit
[3498/10570] Fetching mysql-nio, async-kit, sql-kit
[6503/24506] Fetching mysql-nio, async-kit, sql-kit, swift-crypto
Fetched https://github.com/vapor/async-kit.git from cache (0.44s)
[9176/22136] Fetching mysql-nio, sql-kit, swift-crypto
[9177/36979] Fetching mysql-nio, sql-kit, swift-crypto, swift-nio-ssl
Fetched https://github.com/vapor/sql-kit.git from cache (0.51s)
[6081/107051] Fetching mysql-nio, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/mysql-nio.git from cache (2.13s)
[83539/104834] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.16s)
[70364/90898] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.90s)
Fetched https://github.com/apple/swift-nio.git from cache (6.98s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (7.42s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/vapor/mysql-nio.git
Computed https://github.com/vapor/mysql-nio.git at 1.7.2 (1.66s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.53s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (3.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.62s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[207/6101] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.25s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.54s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.31s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 4.11.1 (0.87s)
Fetching https://github.com/swift-server/RediStack.git
[1/4703] Fetching redistack
Fetched https://github.com/swift-server/RediStack.git from cache (0.44s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.2 (1.42s)
Fetching https://github.com/apple/swift-metrics.git
[1/2206] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.33s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.12.0 (0.77s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.5.0 (0.44s)
Fetching https://github.com/vapor/leaf-kit.git
[1/4938] Fetching leaf-kit
Fetched https://github.com/vapor/leaf-kit.git from cache (0.38s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.94s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/vapor/websocket-kit.git
[1/1063] Fetching swift-service-context
[1043/3672] Fetching swift-service-context, websocket-kit
[1430/9586] Fetching swift-service-context, websocket-kit, swift-nio-extras
[1731/12905] Fetching swift-service-context, websocket-kit, swift-nio-extras, multipart-kit
[9263/24432] Fetching swift-service-context, websocket-kit, swift-nio-extras, multipart-kit, swift-nio-http2
[9560/29406] Fetching swift-service-context, websocket-kit, swift-nio-extras, multipart-kit, swift-nio-http2, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.44s)
Fetching https://github.com/vapor/routing-kit.git
[12925/23492] Fetching swift-service-context, websocket-kit, multipart-kit, swift-nio-http2, swift-distributed-tracing
[21571/44219] Fetching swift-service-context, websocket-kit, multipart-kit, swift-nio-http2, swift-distributed-tracing, routing-kit
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.18s)
Fetched https://github.com/vapor/websocket-kit.git from cache (1.19s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.19s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.19s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/vapor/console-kit.git
[22376/24046] Fetching multipart-kit, routing-kit
[24047/29623] Fetching multipart-kit, routing-kit, console-kit
[29624/43637] Fetching multipart-kit, routing-kit, console-kit, async-http-client
Fetched https://github.com/vapor/routing-kit.git from cache (1.22s)
[22350/22910] Fetching multipart-kit, console-kit, async-http-client
Fetched https://github.com/vapor/console-kit.git from cache (0.64s)
Fetched https://github.com/vapor/multipart-kit.git from cache (1.88s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.76s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (2.45s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.46s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (2.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.67s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.38s)
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 (1.09s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (2.43s)
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.06s)
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-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/2426] Fetching swift-service-lifecycle
[2/3330] Fetching swift-service-lifecycle, swift-http-types
[3/4471] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers
[184/6061] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-asn1
[1363/11046] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms
[1364/17201] Fetching swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.90s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.90s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.90s)
Fetched https://github.com/apple/swift-http-types.git from cache (2.15s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.15s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.15s)
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.70s)
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.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.90s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.10s)
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.51s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.74s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.90s)
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.59s)
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.44s)
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.46s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.44s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.64s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.28s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 1.7.5 (2.53s)
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/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
Creating working copy for https://github.com/brokenhandsio/VaporSecurityHeaders.git
Working copy of https://github.com/brokenhandsio/VaporSecurityHeaders.git resolved at 3.2.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/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
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/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-community/CSRF.git
Working copy of https://github.com/vapor-community/CSRF.git resolved at 3.1.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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-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/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-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/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.13.1
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/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/swift-server/RediStack.git
Working copy of https://github.com/swift-server/RediStack.git resolved at 1.6.2
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-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/diskshima/SwiftyJSON.git
Working copy of https://github.com/diskshima/SwiftyJSON.git resolved at rename-nsnumber-comparison-operators (329922b)
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/vapor/mysql-kit.git
Working copy of https://github.com/vapor/mysql-kit.git resolved at 4.10.0
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-nio-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.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 1.7.5
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/mysql-nio.git
Working copy of https://github.com/vapor/mysql-nio.git resolved at 1.7.2
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/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 4.11.1
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Creating working copy for https://github.com/vapor/fluent-mysql-driver.git
Working copy of https://github.com/vapor/fluent-mysql-driver.git resolved at 4.7.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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/rb-de0/Poppo.git
Working copy of https://github.com/rb-de0/Poppo.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
Building for debugging...
[0/956] Write sources
[12/956] Compiling bn-armv8-apple.S
[13/956] Compiling armv8-mont-win.S
[14/956] Compiling armv8-mont-linux.S
[15/956] Compiling bn-586-linux.S
[16/956] Compiling bn-586-apple.S
[17/956] Compiling armv8-mont-apple.S
[18/956] Compiling cmark xml.c
[19/956] Compiling cmark tagfilter.c
[20/956] Compiling cmark tasklist.c
[21/956] Write swift-version-24593BA9C3E375BF.txt
[22/956] Compiling cmark syntax_extension.c
[23/956] Compiling cmark strikethrough.c
[24/956] Compiling cmark registry.c
[25/956] Compiling cmark table.c
[26/956] Compiling cmark references.c
[27/956] Compiling cmark render.c
[28/956] Compiling cmark plugin.c
[29/956] Compiling cmark plaintext.c
[30/956] Compiling cmark node.c
[31/957] Compiling cmark map.c
[32/958] Compiling cmark linked_list.c
[33/958] Compiling cmark man.c
[34/966] Compiling cmark latex.c
[35/994] Compiling cmark iterator.c
[36/1008] Compiling cmark houdini_html_e.c
[37/1008] Compiling cmark html.c
[38/1008] Compiling cmark houdini_html_u.c
[39/1008] Compiling cmark houdini_href_e.c
[40/1008] Compiling cmark inlines.c
[41/1008] Compiling cmark footnotes.c
[42/1008] Compiling cmark core-extensions.c
[43/1008] Compiling cmark cmark_ctype.c
[44/1008] Compiling cmark ext_scanners.c
[45/1008] Compiling cmark cmark.c
[46/1008] Compiling cmark commonmark.c
[47/1008] Compiling cmark arena.c
[48/1008] Compiling cmark buffer.c
[49/1008] Write sources
[53/1008] Compiling cmark blocks.c
[54/1008] Write sources
[55/1008] Compiling cmark autolink.c
[56/1008] Compiling _NumericsShims _NumericsShims.c
[56/1008] Write sources
[83/1008] Compiling _AtomicsShims.c
[84/1027] Compiling cmark scanners.c
[85/1027] Write sources
[90/1032] Compiling cmark utf8.c
[92/1032] Emitting module _NIOBase64
[93/1032] Emitting module _NIODataStructures
[94/1034] Emitting module SwiftSoup
[95/1041] Compiling ServiceContextModule ServiceContextKey.swift
[96/1041] Compiling RealModule Float+Real.swift
[97/1042] Compiling _NIODataStructures PriorityQueue.swift
[98/1042] Compiling _NIODataStructures _TinyArray.swift
[99/1042] Emitting module ServiceContextModule
[100/1042] Compiling ServiceContextModule ServiceContext.swift
[101/1043] Compiling _NIOBase64 Base64.swift
[102/1043] Compiling RealModule Float16+Real.swift
[103/1044] Compiling RealModule AugmentedArithmetic.swift
[104/1044] Compiling RealModule Double+Real.swift
[105/1044] Compiling RealModule ElementaryFunctions.swift
[106/1044] Compiling RealModule RealFunctions.swift
[107/1044] Emitting module RealModule
[108/1044] Compiling RealModule AlgebraicField.swift
[109/1044] Compiling RealModule ApproximateEquality.swift
[110/1044] Emitting module Logging
[111/1044] Compiling Logging Locks.swift
[112/1044] Compiling RealModule Float80+Real.swift
[113/1044] Compiling RealModule Real.swift
[114/1045] Emitting module SwiftMarkdown
[115/1045] Compiling SwiftMarkdown SwiftMarkdown.swift
[117/1046] Write sources
[121/1046] Wrapping AST for ServiceContextModule for debugging
[122/1046] Write sources
[136/1046] Compiling CVaporBcrypt blf.c
[137/1060] Wrapping AST for RealModule for debugging
[138/1060] Wrapping AST for _NIOBase64 for debugging
[140/1060] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[141/1066] Compiling Logging MetadataProvider.swift
[142/1067] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[143/1067] Compiling InternalCollectionsUtilities Debugging.swift
[144/1067] Compiling _NIODataStructures Heap.swift
[145/1068] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[146/1068] Compiling InternalCollectionsUtilities Integer rank.swift
[147/1068] Compiling Logging LogHandler.swift
[148/1068] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/1083] Compiling Instrumentation Instrument.swift
[150/1083] 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.
[151/1083] Compiling Instrumentation NoOpInstrument.swift
[152/1083] 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.
[154/1083] Compiling InternalCollectionsUtilities Descriptions.swift
[155/1083] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[157/1083] Compiling Instrumentation MultiplexInstrument.swift
[158/1083] 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 | }
[159/1083] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
24 |
25 | /// Status of the calculation.
26 | var status: Status { get }
| `- error: cannot find type 'Status' in scope
27 |
28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:55:32: error: cannot infer contextual base in reference to member 'success'
53 |
54 | _ = update(from: data.bytes, byteCount: size_t(data.length))
55 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:78:26: error: cannot infer contextual base in reference to member 'success'
76 | }
77 | #endif
78 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
79 | }
80 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:91:26: error: cannot infer contextual base in reference to member 'success'
89 |
90 | _ = update(from: byteArray, byteCount: size_t(byteArray.count))
91 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
92 | }
93 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:105:26: error: cannot infer contextual base in reference to member 'success'
103 |
104 | _ = update(from: string, byteCount: size_t(string.utf8.count))
105 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
106 | }
107 | }
[160/1084] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[161/1084] Emitting module InternalCollectionsUtilities
[162/1084] Compiling Cryptor Crypto.swift
[163/1084] Compiling Cryptor Cryptor.swift
[163/1084] Wrapping AST for _NIODataStructures for debugging
[164/1084] 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 |
[164/1084] Wrapping AST for SwiftMarkdown for debugging
[165/1084] Emitting module SwiftyJSON
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/845] Write sources
[3/849] Compiling CSystem shims.c
[4/849] Compiling CNIOWindows shim.c
[5/849] Compiling CNIOWASI CNIOWASI.c
[6/849] Compiling CNIOLinux shim.c
[6/849] Compiling CNIOWindows WSAStartup.c
[8/849] Compiling CNIOLinux liburing_shims.c
[9/849] Compiling CNIOExtrasZlib empty.c
[10/849] Compiling CNIODarwin shim.c
[11/849] Compiling CNIOLLHTTP c_nio_http.c
[11/849] Compiling CNIOSHA1 c_nio_sha1.c
[13/849] Compiling CVaporBcrypt bcrypt.c
[14/849] Compiling CNIOLLHTTP c_nio_api.c
[15/849] Compiling fiat_curve25519_adx_mul.S
[16/849] Compiling fiat_curve25519_adx_square.S
[16/849] Compiling fiat_p256_adx_mul.S
[16/849] Compiling fiat_p256_adx_sqr.S
[19/849] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[20/849] Compiling tls_record.cc
[20/849] 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>
| ^~~~~~~~~~~
[20/849] 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>
| ^~~~~~~~~~~
[20/849] 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>
| ^~~~~~~~~~~
[20/849] Compiling tls13_enc.cc
[20/849] Compiling CNIOLLHTTP c_nio_llhttp.c
[20/849] Write swift-version-24593BA9C3E375BF.txt
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>
| ^~~~~~~~~~~
[20/849] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm