Build Information
Failed to build swiftly, reference main (cbc8bd
), with Swift 6.1 for Wasm on 16 Jun 2025 20:47:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swiftlang/swiftly.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftlang/swiftly
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cbc8bdc Remove the swiftly bootstrap version (#385)
Cloned https://github.com/swiftlang/swiftly.git
Revision (git rev-parse @):
cbc8bdc052f510930a09e163981395e6fd38693d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swiftly.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swiftly.git
https://github.com/swiftlang/swiftly.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client"
},
{
"identity" : "swift-openapi-async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-openapi-async-http-client"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.80.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-openapi-generator",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-generator"
},
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.49.18"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swiftly",
"name" : "swiftly",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swiftly",
"targets" : [
"Swiftly"
],
"type" : {
"executable" : null
}
},
{
"name" : "test-swiftly",
"targets" : [
"TestSwiftly"
],
"type" : {
"executable" : null
}
},
{
"name" : "generate-docs-reference",
"targets" : [
"generate-docs-reference"
],
"type" : {
"executable" : null
}
},
{
"name" : "generate-command-models",
"targets" : [
"generate-command-models"
],
"type" : {
"executable" : null
}
},
{
"name" : "build-swiftly-release",
"targets" : [
"build-swiftly-release"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "generate_docs_reference",
"module_type" : "SwiftTarget",
"name" : "generate-docs-reference",
"path" : "Tools/generate-docs-reference",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"generate-docs-reference"
],
"sources" : [
"Extensions/Process+SimpleAPI.swift",
"GenerateDocsReference.swift"
],
"type" : "executable"
},
{
"c99name" : "generate_command_models",
"module_type" : "SwiftTarget",
"name" : "generate-command-models",
"path" : "Tools/generate-command-models",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"generate-command-models",
"build-swiftly-release"
],
"sources" : [
"GenerateCommandModels.swift"
],
"type" : "executable"
},
{
"c99name" : "build_swiftly_release",
"module_type" : "SwiftTarget",
"name" : "build-swiftly-release",
"path" : "Tools/build-swiftly-release",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"build-swiftly-release"
],
"sources" : [
"BuildSwiftlyRelease.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"LinuxPlatform",
"MacOSPlatform"
],
"type" : "executable"
},
{
"c99name" : "TestSwiftly",
"module_type" : "SwiftTarget",
"name" : "TestSwiftly",
"path" : "Sources/TestSwiftly",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"test-swiftly"
],
"sources" : [
"TestSwiftly.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"LinuxPlatform",
"MacOSPlatform"
],
"type" : "executable"
},
{
"c99name" : "SwiftlyWebsiteAPI",
"module_type" : "SwiftTarget",
"name" : "SwiftlyWebsiteAPI",
"path" : "Sources/SwiftlyWebsiteAPI",
"product_dependencies" : [
"OpenAPIRuntime",
"OpenAPIGenerator"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"Servers+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftlyTests",
"module_type" : "SwiftTarget",
"name" : "SwiftlyTests",
"path" : "Tests/SwiftlyTests",
"product_dependencies" : [
"SystemPackage"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SwiftlyTests/mock-signing-key-private.pgp",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"CommandLineTests.swift",
"FileLockTests.swift",
"HTTPClientTests.swift",
"InitTests.swift",
"InstallTests.swift",
"LinkTests.swift",
"ListTests.swift",
"PlatformTests.swift",
"RunTests.swift",
"SelfUpdateTests.swift",
"StringExtensionsTests.swift",
"SwiftlyCoreTests.swift",
"SwiftlyTests.swift",
"ToolchainSelectorTests.swift",
"UninstallTests.swift",
"UnlinkTests.swift",
"UpdateTests.swift",
"UseTests.swift"
],
"target_dependencies" : [
"Swiftly"
],
"type" : "test"
},
{
"c99name" : "SwiftlyDownloadAPI",
"module_type" : "SwiftTarget",
"name" : "SwiftlyDownloadAPI",
"path" : "Sources/SwiftlyDownloadAPI",
"product_dependencies" : [
"OpenAPIRuntime",
"OpenAPIGenerator"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"Servers+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftlyDocs",
"module_type" : "SwiftTarget",
"name" : "SwiftlyDocs",
"path" : "Documentation",
"sources" : [
"EmptyFile.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftlyCore",
"module_type" : "SwiftTarget",
"name" : "SwiftlyCore",
"path" : "Sources/SwiftlyCore",
"product_dependencies" : [
"AsyncHTTPClient",
"NIOFoundationCompat",
"OpenAPIRuntime",
"OpenAPIAsyncHTTPClient",
"SystemPackage"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"Commands+Runnable+Output.swift",
"Error.swift",
"FileLock.swift",
"FileManager+FilePath.swift",
"HTTPClient.swift",
"Messages.swift",
"ModeledCommandLine.swift",
"OutputFormatter.swift",
"Platform.swift",
"ProcessInfo.swift",
"StringExtensions.swift",
"SwiftlyCore.swift",
"SwiftlyVersion.swift",
"Terminal.swift",
"ToolchainVersion.swift"
],
"target_dependencies" : [
"SwiftlyDownloadAPI",
"SwiftlyWebsiteAPI",
"GenerateCommandModels"
],
"type" : "library"
},
{
"c99name" : "Swiftly",
"module_type" : "SwiftTarget",
"name" : "Swiftly",
"path" : "Sources/Swiftly",
"product_dependencies" : [
"ArgumentParser",
"SwiftToolsSupport-auto",
"SystemPackage"
],
"product_memberships" : [
"swiftly"
],
"sources" : [
"Config.swift",
"Init.swift",
"Install.swift",
"Link.swift",
"List.swift",
"ListAvailable.swift",
"OutputSchema.swift",
"Proxy.swift",
"Run.swift",
"SelfUpdate.swift",
"Swiftly.swift",
"Uninstall.swift",
"Unlink.swift",
"Update.swift",
"Use.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"LinuxPlatform",
"MacOSPlatform"
],
"type" : "executable"
},
{
"c99name" : "MacOSPlatform",
"module_type" : "SwiftTarget",
"name" : "MacOSPlatform",
"path" : "Sources/MacOSPlatform",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"MacOS.swift"
],
"target_dependencies" : [
"SwiftlyCore"
],
"type" : "library"
},
{
"c99name" : "LinuxPlatform",
"module_type" : "SwiftTarget",
"name" : "LinuxPlatform",
"path" : "Sources/LinuxPlatform",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"Extract.swift",
"Linux.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"CLibArchive"
],
"type" : "library"
},
{
"c99name" : "GenerateDocsReference",
"module_type" : "PluginTarget",
"name" : "GenerateDocsReference",
"path" : "Plugins/GenerateDocsReference",
"plugin_capability" : {
"intent" : {
"description" : "Generate a documentation reference for swiftly.",
"type" : "custom",
"verb" : "generate-docs-reference"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command generates documentation.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"GenerateDocsReference.swift",
"GenerateDocsReferenceError.swift",
"PackagePlugin+Helpers.swift"
],
"target_dependencies" : [
"generate-docs-reference"
],
"type" : "plugin"
},
{
"c99name" : "GenerateCommandModels",
"module_type" : "PluginTarget",
"name" : "GenerateCommandModels",
"path" : "Plugins/GenerateCommandModels",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"generate-command-models"
],
"type" : "plugin"
},
{
"c99name" : "CLibArchive",
"module_type" : "SystemLibraryTarget",
"name" : "CLibArchive",
"path" : "Sources/CLibArchive",
"product_memberships" : [
"swiftly",
"test-swiftly",
"build-swiftly-release"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-openapi-runtime
[1/15857] Fetching swift-openapi-generator
[2/17939] Fetching swift-openapi-generator, swift-docc-plugin
[3/23618] Fetching swift-openapi-generator, swift-docc-plugin, swift-openapi-runtime
[17132/30471] Fetching swift-openapi-generator, swift-docc-plugin, swift-openapi-runtime, swift-tools-support-core
[19205/34899] Fetching swift-openapi-generator, swift-docc-plugin, swift-openapi-runtime, swift-tools-support-core, swift-system
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.81s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.82s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-openapi-async-http-client
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.04s)
Fetched https://github.com/apple/swift-openapi-generator from cache (1.04s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-server/async-http-client
[1/570] Fetching swift-openapi-async-http-client
[571/49368] Fetching swift-openapi-async-http-client, swiftformat
Fetched https://github.com/swift-server/swift-openapi-async-http-client from cache (0.36s)
[2440/48798] Fetching swiftformat
[3905/125120] Fetching swiftformat, swift-nio
[3906/139134] Fetching swiftformat, swift-nio, async-http-client
[12351/154514] Fetching swiftformat, swift-nio, async-http-client, swift-argument-parser
Fetched https://github.com/swift-server/async-http-client from cache (1.90s)
[72372/140500] Fetching swiftformat, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.99s)
[57755/125120] Fetching swiftformat, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.54s)
[11224/48798] Fetching swiftformat
Fetched https://github.com/apple/swift-system from cache (32.73s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (33.44s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.18 (36.51s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.59s)
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.31s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.1.0 (2.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.53s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.8.0 (1.42s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/jpsim/Yams
[1/5959] Fetching swift-algorithms
[121/16818] Fetching swift-algorithms, yams
[181/33424] Fetching swift-algorithms, yams, swift-collections
[19840/123169] Fetching swift-algorithms, yams, swift-collections, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.56s)
[60258/112310] Fetching swift-algorithms, swift-collections, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (5.37s)
Fetched https://github.com/apple/swift-collections from cache (5.41s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (5.48s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (6.17s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (1.38s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.97s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.84s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.01s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.61s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.26.1 (0.55s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/5923] Fetching swift-nio-extras
[475/8590] Fetching swift-nio-extras, swift-nio-transport-services
[7170/12426] Fetching swift-nio-extras, swift-nio-transport-services, swift-log
[9471/23958] Fetching swift-nio-extras, swift-nio-transport-services, swift-log, swift-nio-http2
[9470/12426] Fetching swift-nio-extras, swift-nio-transport-services, swift-log
[9586/23958] Fetching swift-nio-extras, swift-nio-transport-services, swift-log, swift-nio-http2
[13505/38848] Fetching swift-nio-extras, swift-nio-transport-services, swift-log, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
[14497/36181] Fetching swift-nio-extras, swift-log, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[11074/32345] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.83s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.84s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.85s)
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 (2.47s)
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.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.53s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.62s)
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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/2426] Fetching swift-service-lifecycle
[2/4016] Fetching swift-service-lifecycle, swift-asn1
[4017/5157] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[4360/11341] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates
[4688/16326] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.42s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.42s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.97s)
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.63s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.76s)
Fetching https://github.com/apple/swift-crypto.git
[1/14981] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.78s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.57s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (5.03s)
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 (3.43s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (1.33s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections 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.32.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.28.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.18
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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/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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-nio-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/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.1.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-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.8.0
warning: you may be able to install libarchive using your system-packager:
apt-get install libarchive-dev
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling CSystem shims.c
[7/42] Emitting module SystemPackage
[8/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/45] Emitting module ArgumentParserToolInfo
[10/46] Compiling SystemPackage Util+StringArray.swift
[11/46] Compiling SystemPackage Util.swift
[12/46] Compiling SystemPackage UtilConsumers.swift
[14/46] Compiling SystemPackage FileOperations.swift
[15/46] Compiling SystemPackage FilePath.swift
[16/46] Compiling SystemPackage FilePathComponentView.swift
[17/46] Compiling SystemPackage FilePathComponents.swift
[18/46] Compiling SystemPackage FilePathTempPosix.swift
[19/46] Compiling SystemPackage FilePathTempWindows.swift
[20/46] Compiling SystemPackage FilePathWindows.swift
[21/46] Compiling SystemPackage FilePermissions.swift
[22/46] Compiling SystemPackage Errno.swift
[23/46] Compiling SystemPackage ErrnoWindows.swift
[24/46] Compiling SystemPackage FileDescriptor.swift
[25/46] Compiling SystemPackage FileHelpers.swift
[25/46] Wrapping AST for ArgumentParserToolInfo for debugging
[27/84] Compiling ArgumentParser CommandConfiguration.swift
[28/84] Compiling ArgumentParser CommandGroup.swift
[29/84] Compiling ArgumentParser EnumerableFlag.swift
[30/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/84] Compiling ArgumentParser CompletionsGenerator.swift
[32/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/84] Compiling ArgumentParser Argument.swift
[35/84] Compiling ArgumentParser ArgumentHelp.swift
[36/84] Compiling ArgumentParser ArgumentDefinition.swift
[37/84] Compiling ArgumentParser ArgumentSet.swift
[38/84] Compiling ArgumentParser CommandParser.swift
[39/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/84] Compiling ArgumentParser ParsableCommand.swift
[41/84] Compiling ArgumentParser ArgumentDecoder.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/90] Compiling ArgumentParser OptionGroup.swift
[46/90] Compiling ArgumentParser AsyncParsableCommand.swift
[50/90] Compiling ArgumentParser ArgumentVisibility.swift
[51/90] Compiling ArgumentParser CompletionKind.swift
[52/90] Compiling ArgumentParser Errors.swift
[53/90] Compiling ArgumentParser Flag.swift
[54/90] Compiling ArgumentParser NameSpecification.swift
[55/90] Compiling ArgumentParser Option.swift
[56/90] Compiling ArgumentParser CollectionExtensions.swift
[57/90] Compiling ArgumentParser Platform.swift
[58/90] Compiling ArgumentParser SequenceExtensions.swift
[59/90] Compiling ArgumentParser StringExtensions.swift
[60/90] Compiling ArgumentParser Tree.swift
[67/90] Compiling ArgumentParser ExpressibleByArgument.swift
[68/90] Compiling ArgumentParser ParsableArguments.swift
[75/90] Compiling ArgumentParser InputKey.swift
[76/90] Compiling ArgumentParser InputOrigin.swift
[77/90] Compiling ArgumentParser Name.swift
[78/90] Compiling ArgumentParser Parsed.swift
[79/90] Compiling ArgumentParser ParsedValues.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Emitting module generate_command_models
[90/93] Compiling generate_command_models GenerateCommandModels.swift
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:73:13: warning: no 'async' operations occur within 'await' expression
71 | }
72 |
73 | try await allCmds.write(to: URL(fileURLWithPath: self.outputFile), atomically: true, encoding: .utf8)
| `- warning: no 'async' operations occur within 'await' expression
74 | }
75 |
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:184:70: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
183 | name = "-" + shortName
184 | } else if let longNameWithSingleDash = arg.names?.filter { $0.kind == .longWithSingleDash }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
185 | name = "-" + longNameWithSingleDash
186 | }
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:182:57: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
180 | if let longName = arg.names?.filter { $0.kind == .long }.first?.name {
181 | name = "--" + longName
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
183 | name = "-" + shortName
184 | } else if let longNameWithSingleDash = arg.names?.filter { $0.kind == .longWithSingleDash }.first?.name {
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:180:49: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
178 | let flag = arg.kind == .flag
179 | var name: String?
180 | if let longName = arg.names?.filter { $0.kind == .long }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
181 | name = "--" + longName
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
[91/94] Wrapping AST for generate-command-models for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking generate-command-models-tool
[94/128] Write sources
[104/128] Compiling _NumericsShims _NumericsShims.c
[104/128] Write sources
[106/128] Compiling writer.c
[107/128] Compiling reader.c
[108/128] Compiling parser.c
[109/128] Compiling api.c
[110/128] Compiling emitter.c
[111/128] Compiling scanner.c
[112/128] Write swift-version-24593BA9C3E375BF.txt
[114/203] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[115/204] Compiling InternalCollectionsUtilities Descriptions.swift
[116/204] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[117/204] Compiling Yams Mark.swift
[118/204] Compiling Yams Node.Alias.swift
[119/204] Compiling RealModule Real.swift
[120/205] Compiling RealModule ElementaryFunctions.swift
[121/205] Compiling RealModule Float80+Real.swift
[122/205] Compiling RealModule Float16+Real.swift
[123/205] Compiling RealModule Float+Real.swift
[124/205] Compiling Yams AliasDereferencingStrategy.swift
[125/205] Compiling Yams Anchor.swift
[126/205] Compiling RealModule RealFunctions.swift
[127/205] Compiling Yams Constructor.swift
[128/205] Compiling Yams Decoder.swift
[131/205] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[132/205] Compiling Yams Resolver.swift
[133/205] Compiling Yams String+Yams.swift
[134/205] Compiling Yams Tag.swift
[135/205] Compiling Yams YamlAnchorProviding.swift
[136/209] Emitting module OpenAPIKitCore
[137/209] Emitting module RealModule
[138/210] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[139/210] Compiling Yams Node.Scalar.swift
[141/210] Emitting module InternalCollectionsUtilities
[142/210] Compiling OpenAPIKitCore StringConvertibleHintProvider.swift
[143/210] Compiling OpenAPIKitCore Shared.swift
[144/210] Compiling OpenAPIKitCore CallbackURL.swift
[145/210] Compiling OpenAPIKitCore ComponentKey.swift
[146/210] Compiling OpenAPIKitCore ContentType.swift
[147/210] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[148/210] Compiling OpenAPIKitCore Optional+Zip.swift
[149/210] Compiling OpenAPIKitCore Result+Value.swift
[150/210] Compiling OpenAPIKitCore Validatable.swift
[153/210] Compiling Yams Emitter.swift
[154/210] Compiling Yams Encoder.swift
[154/211] Wrapping AST for RealModule for debugging
[157/236] Compiling OpenAPIKitCore OAuthFlows.swift
[158/236] Compiling OpenAPIKitCore ParameterContextLocation.swift
[159/236] Compiling OpenAPIKitCore ParameterSchemaContextStyle.swift
[160/236] Compiling OpenAPIKitCore Path.swift
[161/236] Compiling OpenAPIKitCore ResponseStatusCode.swift
[162/236] Compiling OpenAPIKitCore SecurityScheme.swift
[163/236] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[164/236] Compiling OpenAPIKitCore URLTemplate.swift
[165/236] Compiling Algorithms Chain.swift
[166/236] Compiling Algorithms Chunked.swift
[167/236] Compiling Algorithms Combinations.swift
[168/236] Compiling Algorithms Compacted.swift
[169/236] Compiling Algorithms Cycle.swift
[170/236] Compiling Algorithms EitherSequence.swift
[171/236] Compiling Algorithms FirstNonNil.swift
[172/236] Compiling Algorithms Partition.swift
[173/236] Compiling Algorithms Permutations.swift
[174/236] Compiling Algorithms Product.swift
[175/236] Compiling Algorithms FlattenCollection.swift
[176/236] Compiling Algorithms Grouped.swift
[177/236] Compiling Algorithms Indexed.swift
[178/236] Compiling Algorithms Intersperse.swift
[179/236] Compiling Algorithms AdjacentPairs.swift
[179/237] Wrapping AST for InternalCollectionsUtilities for debugging
[181/292] Wrapping AST for OpenAPIKitCore for debugging
[183/411] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[184/411] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[185/411] Compiling OpenAPIKit30 JSONSchema.swift
[186/411] Compiling OpenAPIKit30 JSONSchemaContext.swift
[187/411] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[188/411] Compiling OpenAPIKit30 TypesAndFormats.swift
[189/411] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[190/411] Compiling OpenAPIKit30 DereferencedRequest.swift
[191/411] Compiling OpenAPIKit30 Request.swift
[192/411] Compiling OpenAPIKit30 DereferencedResponse.swift
[193/411] Compiling OpenAPIKit30 Response.swift
[194/411] Compiling OpenAPIKit30 RuntimeExpression.swift
[195/411] Compiling OpenAPIKit30 SchemaProtocols.swift
[196/411] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[197/418] Compiling OpenAPIKit30 OperationDecodingError.swift
[198/418] Compiling OpenAPIKit30 PathDecodingError.swift
[199/418] Compiling OpenAPIKit30 ResponseDecodingError.swift
[200/421] Compiling OpenAPIKit30 DocumentDecodingError.swift
[201/421] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[202/421] Compiling OpenAPIKit30 Callbacks.swift
[203/421] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[204/421] Compiling OpenAPIKit30 Example.swift
[205/421] Compiling OpenAPIKit30 ExternalDocumentation.swift
[206/421] Compiling OpenAPIKit30 DereferencedHeader.swift
[207/421] Compiling OpenAPIKit30 ContentEncoding.swift
[208/421] Compiling OpenAPIKit30 DereferencedContent.swift
[219/421] Compiling OpenAPIKit30 Components+JSONReference.swift
[220/421] Compiling OpenAPIKit30 Components+Locatable.swift
[221/421] Compiling OpenAPIKit30 Components.swift
[222/421] Compiling OpenAPIKit30 Content.swift
[223/421] Compiling OpenAPIKit30 DereferencedParameter.swift
[224/421] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[225/421] Compiling OpenAPIKit30 Parameter.swift
[226/421] Compiling OpenAPIKit30 ParameterContext.swift
[227/421] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[228/421] Compiling OpenAPIKit30 DereferencedPathItem.swift
[229/421] Compiling OpenAPIKit30 PathItem.swift
[230/421] Compiling OpenAPIKit30 ResolvedRoute.swift
[231/421] Compiling Algorithms Trim.swift
[232/421] Compiling Algorithms Unique.swift
[233/421] Compiling Algorithms Windows.swift
[234/421] Compiling OpenAPIKit30 OpenAPI.swift
[235/421] Compiling OpenAPIKit30 DereferencedOperation.swift
[236/421] Compiling OpenAPIKit30 Operation.swift
[237/421] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[238/421] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[245/421] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[246/421] Compiling OpenAPIKit30 DereferencedDocument.swift
[247/421] Compiling OpenAPIKit30 Document.swift
[248/421] Compiling OpenAPIKit30 DocumentInfo.swift
[256/423] Emitting module OpenAPIKit30
[261/431] Compiling OpenAPIKit30 ResolvedDocument.swift
[262/431] Compiling OpenAPIKit30 Either+Convenience.swift
[263/431] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[264/431] Compiling OpenAPIKit30 Either+Validatable.swift
[265/431] Emitting module OpenAPIKit
[270/439] Emitting module Yams
[271/439] Compiling Yams YamlError.swift
[272/439] Compiling Yams YamlTagProviding.swift
[273/439] Compiling OrderedCollections OrderedSet+Sendable.swift
[274/439] Compiling OrderedCollections OrderedSet+SubSequence.swift
[275/439] Compiling OrderedCollections OrderedSet+Testing.swift
[276/439] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[277/439] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[278/439] Compiling OpenAPIKit Container+DecodeURLAsString.swift
[279/439] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[283/439] Emitting module OrderedCollections
[290/440] Wrapping AST for OrderedCollections for debugging
[300/440] Emitting module Algorithms
[307/442] Wrapping AST for Algorithms for debugging
[309/442] Wrapping AST for Yams for debugging
[340/442] Compiling OpenAPIKit Validation+Builtins.swift
[341/442] Compiling OpenAPIKit Validation.swift
[342/442] Compiling OpenAPIKit Validator+Convenience.swift
[343/442] Compiling OpenAPIKit Validator.swift
[344/442] Compiling OpenAPIKit XML.swift
[387/442] Compiling OpenAPIKit _CoreReExport.swift
[404/443] Wrapping AST for OpenAPIKit30 for debugging
[438/444] Wrapping AST for OpenAPIKit for debugging
[440/447] Emitting module OpenAPIKitCompat
[441/447] Compiling OpenAPIKitCompat Compat30To31.swift
[442/447] Compiling OpenAPIKitCompat Either+Map.swift
[443/448] Wrapping AST for OpenAPIKitCompat for debugging
[445/529] Emitting module _OpenAPIGeneratorCore
[446/540] Compiling _OpenAPIGeneratorCore Builtins.swift
[447/540] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[448/540] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[449/540] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[450/540] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[451/540] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[452/540] Compiling _OpenAPIGeneratorCore TypeName.swift
[453/540] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[454/540] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[455/540] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[456/540] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[457/540] Compiling _OpenAPIGeneratorCore Constants.swift
[458/540] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[459/540] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[460/540] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[461/540] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[462/540] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[463/540] Compiling _OpenAPIGeneratorCore ContentType.swift
[464/540] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[465/540] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[466/540] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[467/540] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[468/540] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[469/540] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[470/540] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[471/540] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[472/540] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[473/540] Compiling _OpenAPIGeneratorCore translateResponse.swift
[474/540] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[475/540] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[476/540] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[477/540] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[478/540] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[479/540] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[480/540] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[481/540] Compiling _OpenAPIGeneratorCore translateArray.swift
[482/540] Compiling _OpenAPIGeneratorCore translateCodable.swift
[483/540] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[484/540] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[485/540] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[486/540] Compiling _OpenAPIGeneratorCore translateSchema.swift
[487/540] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[488/540] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[489/540] Compiling _OpenAPIGeneratorCore Annotations.swift
[490/540] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[491/540] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[492/540] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[493/540] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[494/540] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[495/540] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[496/540] Compiling _OpenAPIGeneratorCore translateComponents.swift
[497/540] Compiling _OpenAPIGeneratorCore translateOperations.swift
[498/540] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[499/540] Compiling _OpenAPIGeneratorCore translateServers.swift
[500/540] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[501/540] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[502/540] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[503/540] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[504/540] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[505/540] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[506/540] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[507/540] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[508/540] Compiling _OpenAPIGeneratorCore translateParameter.swift
[509/540] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[510/540] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[511/540] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[512/540] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[513/540] Compiling _OpenAPIGeneratorCore Config.swift
[514/540] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[515/540] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[516/540] Compiling _OpenAPIGeneratorCore Errors.swift
[517/540] Compiling _OpenAPIGeneratorCore Foundation.swift
[518/540] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[519/540] Compiling _OpenAPIGeneratorCore String.swift
[520/540] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[521/540] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[522/540] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[523/540] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[524/540] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[525/540] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[526/540] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[527/540] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[528/540] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[529/540] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[530/540] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[531/540] Compiling _OpenAPIGeneratorCore YamsParser.swift
[532/540] Compiling _OpenAPIGeneratorCore validateDoc.swift
[533/540] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[534/540] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[535/540] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[536/540] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[537/541] Wrapping AST for _OpenAPIGeneratorCore for debugging
[539/550] Compiling swift_openapi_generator Tool.swift
[540/550] Compiling swift_openapi_generator UserConfig.swift
[541/551] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[542/551] Compiling swift_openapi_generator PluginSource.swift
[543/551] Compiling swift_openapi_generator GenerateOptions.swift
[544/551] Emitting module swift_openapi_generator
[545/551] Compiling swift_openapi_generator GenerateCommand.swift
[546/551] Compiling swift_openapi_generator Extensions.swift
[547/551] Compiling swift_openapi_generator FilterCommand.swift
[548/551] Compiling swift_openapi_generator runGenerator.swift
[549/552] Wrapping AST for swift-openapi-generator for debugging
[550/552] Write Objects.LinkFileList
[551/552] Linking swift-openapi-generator-tool
warning: you may be able to install libarchive using your system-packager:
apt-get install libarchive-dev
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tools/build-swiftly-release/musl-clang
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:8:52: warning: 'path' is deprecated: renamed to 'url'
6 | guard let target = target as? SourceModuleTarget else { return [] }
7 |
8 | let jsonSources = target.sourceFiles.map(\.path).filter { $0.extension == "json" }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
9 |
10 | guard jsonSources.count > 0 else { return [] }
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:8:70: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
6 | guard let target = target as? SourceModuleTarget else { return [] }
7 |
8 | let jsonSources = target.sourceFiles.map(\.path).filter { $0.extension == "json" }
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
9 |
10 | guard jsonSources.count > 0 else { return [] }
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:12:34: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
10 | guard jsonSources.count > 0 else { return [] }
11 |
12 | let outputPath = context.pluginWorkDirectory.appending("Commands.swift")
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
13 |
14 | return [
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:12:54: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
10 | guard jsonSources.count > 0 else { return [] }
11 |
12 | let outputPath = context.pluginWorkDirectory.appending("Commands.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 |
14 | return [
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:15:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
13 |
14 | return [
15 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
16 | displayName: "Generating Command Models from dumped JSON help",
17 | executable: try context.tool(named: "generate-command-models").path,
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:17:80: warning: 'path' is deprecated: renamed to 'url'
15 | .buildCommand(
16 | displayName: "Generating Command Models from dumped JSON help",
17 | executable: try context.tool(named: "generate-command-models").path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
18 | arguments: ["--output-file", outputPath] + jsonSources,
19 | inputFiles: jsonSources,
[1/1] Compiling plugin GenerateCommandModels
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:10:85: warning: 'path' is deprecated: renamed to 'url'
8 | ) async throws {
9 | // Locate generation tool.
10 | let generationToolFile = try context.tool(named: "generate-docs-reference").path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
11 |
12 | // Create an extractor to extract plugin-only arguments from the `arguments`
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:55:48: warning: 'path' is deprecated: renamed to 'url'
53 |
54 | // Get the artifacts name.
55 | let executableName = builtArtifact.path.lastComponent
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
56 |
57 | print("Generating docs reference for \(executableName)...")
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:55:53: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
53 |
54 | // Get the artifacts name.
55 | let executableName = builtArtifact.path.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
56 |
57 | print("Generating docs reference for \(executableName)...")
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:59:46: warning: 'directory' is deprecated: renamed to 'directoryURL'
57 | print("Generating docs reference for \(executableName)...")
58 |
59 | let outputFile = context.package.directory
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
60 | .appending("Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md")
61 |
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:60:18: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
58 |
59 | let outputFile = context.package.directory
60 | .appending("Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
61 |
62 | // Create generation tool arguments.
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:64:31: warning: 'path' is deprecated: renamed to 'url'
62 | // Create generation tool arguments.
63 | var generationToolArguments = [
64 | builtArtifact.path.string,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
65 | "--output-file",
66 | outputFile.string,
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:64:36: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
62 | // Create generation tool arguments.
63 | var generationToolArguments = [
64 | builtArtifact.path.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
65 | "--output-file",
66 | outputFile.string,
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:66:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
64 | builtArtifact.path.string,
65 | "--output-file",
66 | outputFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
67 | ]
68 | generationToolArguments.append(
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:73:50: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
71 | // Spawn generation tool.
72 | try generationToolFile.exec(arguments: generationToolArguments)
73 | print("Generated docs reference in '\(outputFile)'")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
74 | }
75 | }
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReferenceError.swift:26:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
24 | case let .subprocessFailedNonZeroExit(tool, exitCode):
25 | return """
26 | '\(tool.lastComponent)' invocation failed with a nonzero exit code: \
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
27 | '\(exitCode)'.
28 | """
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReferenceError.swift:31:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
29 | case let .subprocessFailedError(tool, error):
30 | return """
31 | '\(tool.lastComponent)' invocation failed: \
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
32 | '\(error.localizedDescription)'
33 | """
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:32:30: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
30 | do {
31 | try FileManager.default.createDirectory(
32 | atPath: self.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
33 | withIntermediateDirectories: true
34 | )
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:43:63: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
41 | do {
42 | let process = Process()
43 | process.executableURL = URL(fileURLWithPath: self.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
44 | process.arguments = arguments
45 | try process.run()
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:66:38: warning: 'path' is deprecated: renamed to 'url'
64 | .package
65 | .products
66 | .first { $0.name == self.path.lastComponent }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
67 | }
68 | }
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:66:43: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
64 | .package
65 | .products
66 | .first { $0.name == self.path.lastComponent }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
67 | }
68 | }
[2/2] Compiling plugin GenerateDocsReference
[3/3] Compiling plugin OpenAPIGeneratorCommand
[4/4] Compiling plugin OpenAPIGenerator
[5/5] Compiling plugin Swift-DocC Preview
[6/6] Compiling plugin Swift-DocC
[7/7] Compiling plugin GenerateManual
Building for debugging...
[7/567] Write sources
[31/567] Compiling _NumericsShims _NumericsShims.c
[32/567] Compiling reader.c
[33/567] Compiling writer.c
[34/567] Write sources
[36/567] Compiling CSystem shims.c
[37/567] Compiling _NumericsShims _NumericsShims.c
[38/567] Compiling parser.c
[39/567] Compiling TSCclibc process.c
[40/567] Write sources
[60/567] Compiling TSCclibc strerror.c
[61/567] Write sources
[64/567] Compiling _AtomicsShims.c
[65/567] Compiling CNIOWindows shim.c
[66/567] Compiling TSCclibc libc.c
[67/567] Compiling CSystem shims.c
[68/567] Compiling CNIOWindows WSAStartup.c
[69/567] Compiling CNIOWASI CNIOWASI.c
[70/567] Compiling CNIOLinux liburing_shims.c
[71/567] Compiling CNIOLinux shim.c
[72/567] Compiling CNIOExtrasZlib empty.c
[73/567] Write swift-version-24593BA9C3E375BF.txt
[74/567] Compiling CNIOLLHTTP c_nio_http.c
[75/567] Compiling CNIODarwin shim.c
[76/567] Compiling api.c
[77/568] Compiling CNIOLLHTTP c_nio_api.c
[78/569] Compiling emitter.c
[79/569] Compiling scanner.c
[80/605] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/607] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[85/611] Emitting module Yams
[86/623] Compiling CNIOLLHTTP c_nio_llhttp.c
[88/624] Emitting module RealModule
[90/625] Emitting module OpenAPIKitCore
[92/631] Compiling RealModule Real.swift
[93/632] Emitting module SwiftlyDocs
[94/632] Compiling SwiftlyDocs EmptyFile.swift
[96/634] Emitting module Logging
[97/634] Compiling RealModule Float80+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/634] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[99/634] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[100/634] Emitting module RealModule
[101/634] Compiling Logging Locks.swift
[102/634] Compiling RealModule RealFunctions.swift
[103/634] Compiling _NIODataStructures _TinyArray.swift
[104/634] Compiling RealModule ElementaryFunctions.swift
[105/634] Compiling RealModule Float16+Real.swift
[106/634] Compiling RealModule Float+Real.swift
[107/634] Compiling SystemPackage FilePathParsing.swift
[108/634] Compiling SystemPackage FilePathString.swift
[109/634] Compiling SystemPackage FilePathSyntax.swift
[110/634] Compiling SystemPackage FilePathTemp.swift
[111/634] Compiling SystemPackage FilePathTempPosix.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[112/634] Compiling SystemPackage FilePathTempWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[113/634] Compiling SystemPackage FilePathWindows.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[114/634] Compiling SystemPackage FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[115/634] Emitting module _NIOBase64
[116/634] Compiling _NIOBase64 Base64.swift
[117/634] Compiling SystemPackage Util+StringArray.swift
[118/634] Compiling SystemPackage Util.swift
[119/634] Compiling SystemPackage UtilConsumers.swift
[120/634] Compiling RealModule AugmentedArithmetic.swift
[121/635] Compiling RealModule Double+Real.swift
[122/635] Compiling RealModule AlgebraicField.swift
[123/635] Compiling RealModule ApproximateEquality.swift
[124/635] Compiling _NIODataStructures PriorityQueue.swift
[125/636] Compiling SystemPackage MachPort.swift
[126/636] Compiling SystemPackage PlatformString.swift
[127/636] Compiling SystemPackage SystemString.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
[128/636] Emitting module _NIODataStructures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install libarchive using your system-packager:
apt-get install libarchive-dev
[0/23] Compiling _NumericsShims _NumericsShims.c
[1/23] Compiling reader.c
[2/23] Compiling parser.c
[3/23] Compiling api.c
[4/23] Compiling writer.c
[5/23] Compiling scanner.c
[6/23] Write swift-version-24593BA9C3E375BF.txt
[7/23] Compiling emitter.c
[9/102] Compiling OpenAPIKitCore DiggingError.swift
[10/102] Compiling OpenAPIKitCore EitherDecodeNoTypesMatchedErrorExtensions.swift
[11/103] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/103] Compiling OpenAPIKitCore Discriminator.swift
[13/103] Compiling OpenAPIKitCore HttpMethod.swift
[14/103] Compiling RealModule Real.swift
[15/104] Compiling RealModule Float80+Real.swift
[16/104] Compiling OpenAPIKitCore AnyCodable.swift
[17/104] Compiling OpenAPIKitCore Either+Codable.swift
[18/104] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/104] Compiling RealModule ElementaryFunctions.swift
[20/104] Compiling OpenAPIKitCore Either+CustomStringConvertible.swift
[21/104] Compiling OpenAPIKitCore Either.swift
[22/104] Compiling RealModule Float16+Real.swift
[23/104] Compiling RealModule Float+Real.swift
[24/104] Compiling OpenAPIKitCore CodingPathError.swift
[25/104] Compiling OpenAPIKitCore DecodingErrorExtensions.swift
[26/104] Compiling RealModule RealFunctions.swift
[27/104] Compiling OpenAPIKitCore InconsistencyError.swift
[28/104] Compiling OpenAPIKitCore OpenAPIDecodingErrors.swift
[34/110] Emitting module ArgumentParserToolInfo
[35/110] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/111] Emitting module RealModule
[46/111] Emitting module InternalCollectionsUtilities
[49/113] Emitting module OpenAPIKitCore
[52/113] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
[53/113] Compiling OpenAPIKitCore JSONTypeFormat.swift
[54/113] Compiling OpenAPIKitCore OpenAPIError.swift
[55/113] Compiling OpenAPIKitCore OpenAPIWarning.swift
[56/113] Compiling OpenAPIKitCore RequestDecodingError.swift
[57/113] Compiling OpenAPIKitCore OpenAPIReference.swift
[58/113] Compiling OpenAPIKitCore OrderedDictionary.swift
[59/113] Compiling Yams YamlError.swift
[60/113] Compiling Yams YamlTagProviding.swift
[61/113] Compiling OpenAPIKitCore CallbackURL.swift
[62/113] Compiling OpenAPIKitCore ComponentKey.swift
[63/113] Compiling OpenAPIKitCore ContentType.swift
[64/113] Compiling OpenAPIKitCore OAuthFlows.swift
[65/113] Compiling OpenAPIKitCore ParameterContextLocation.swift
[66/113] Compiling OpenAPIKitCore ParameterSchemaContextStyle.swift
[67/113] Compiling OpenAPIKitCore Path.swift
[68/113] Compiling OpenAPIKitCore ResponseStatusCode.swift
[69/113] Compiling OpenAPIKitCore SecurityScheme.swift
[70/113] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[71/113] Compiling OpenAPIKitCore URLTemplate.swift
[77/110] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[78/110] Compiling OpenAPIKitCore Optional+Zip.swift
[79/110] Compiling OpenAPIKitCore Result+Value.swift
[80/110] Compiling OpenAPIKitCore Validatable.swift
[84/110] Emitting module Yams
[85/128] Compiling ArgumentParser AsyncParsableCommand.swift
[86/128] Compiling ArgumentParser CommandConfiguration.swift
[87/128] Compiling ArgumentParser CommandGroup.swift
[88/133] Compiling ArgumentParser FishCompletionsGenerator.swift
[89/133] Compiling ArgumentParser ZshCompletionsGenerator.swift
[90/133] Compiling ArgumentParser Argument.swift
[91/133] Compiling ArgumentParser ArgumentHelp.swift
[92/133] Compiling ArgumentParser ArgumentVisibility.swift
[93/133] Compiling ArgumentParser CompletionKind.swift
[94/347] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[95/347] Compiling OpenAPIKit Either+Summarizable.swift
[96/347] Compiling OpenAPIKit Either+Validatable.swift
[97/347] Compiling OpenAPIKit Parameter.swift
[98/347] Compiling OpenAPIKit ParameterContext.swift
[99/347] Compiling OpenAPIKit ParameterSchemaContext.swift
[100/347] Compiling OpenAPIKit DereferencedPathItem.swift
[101/347] Compiling OpenAPIKit PathItem.swift
[102/347] Compiling OpenAPIKit ResolvedRoute.swift
[103/347] Compiling OpenAPIKit DereferencedRequest.swift
[104/347] Compiling OpenAPIKit Request.swift
[105/347] Compiling OpenAPIKit DereferencedResponse.swift
[106/347] Compiling OpenAPIKit Response.swift
[107/347] Compiling OpenAPIKit RuntimeExpression.swift
[108/354] Compiling OpenAPIKit Header.swift
[109/354] Compiling OpenAPIKit JSONReference.swift
[110/354] Compiling OpenAPIKit Link.swift
[111/354] Compiling OpenAPIKit OperationDecodingError.swift
[112/354] Compiling OpenAPIKit PathDecodingError.swift
[113/354] Compiling OpenAPIKit ResponseDecodingError.swift
[114/355] Compiling OpenAPIKit DereferencedParameter.swift
[115/355] Compiling OpenAPIKit DereferencedSchemaContext.swift
[116/355] Compiling OpenAPIKit DereferencedContentEncoding.swift
[117/355] Compiling OpenAPIKit DereferencedDocument.swift
[118/355] Compiling OpenAPIKit Document.swift
[119/355] Compiling OpenAPIKit DocumentInfo.swift
[120/355] Compiling OpenAPIKit ResolvedDocument.swift
[121/355] Compiling OpenAPIKit Either+Convenience.swift
[122/355] Compiling OpenAPIKit SchemaProtocols.swift
[123/355] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[124/355] Compiling OpenAPIKit DereferencedJSONSchema.swift
[125/355] Compiling OpenAPIKit JSONSchema+Combining.swift
[126/355] Compiling OpenAPIKit JSONSchema.swift
[127/355] Compiling OpenAPIKit JSONSchemaContext.swift
[128/355] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[129/355] Compiling OpenAPIKit TypesAndFormats.swift
[131/355] Compiling OpenAPIKit DereferencedContent.swift
[132/355] Compiling OpenAPIKit DocumentDecodingError.swift
[136/355] Compiling OpenAPIKit Example.swift
[137/355] Compiling OpenAPIKit ExternalDocumentation.swift
[138/355] Compiling OpenAPIKit DereferencedHeader.swift
[142/355] Compiling OpenAPIKit OpenAPI.swift
[143/355] Compiling OpenAPIKit DereferencedOperation.swift
[144/355] Compiling OpenAPIKit Operation.swift
[145/355] Compiling OpenAPIKit ResolvedEndpoint.swift
[146/355] Compiling OpenAPIKit OrderedDictionary+Validatable.swift
[157/357] Compiling OpenAPIKit Components+Locatable.swift
[158/357] Compiling OpenAPIKit Components.swift
[159/357] Compiling OpenAPIKit Content.swift
[160/357] Compiling OpenAPIKit ContentEncoding.swift
[167/357] Compiling OpenAPIKit AnyCodable+Validatable.swift
[168/357] Compiling OpenAPIKit Callbacks.swift
[169/357] Compiling OpenAPIKit CodableVendorExtendable.swift
[170/357] Compiling OpenAPIKit Components+JSONReference.swift
[185/362] Compiling Algorithms Trim.swift
[186/362] Compiling Algorithms Unique.swift
[187/362] Compiling Algorithms Windows.swift
[209/370] Emitting module OpenAPIKit30
[210/370] Emitting module ArgumentParser
[223/370] Compiling OrderedCollections OrderedSet+Sendable.swift
[224/370] Compiling OrderedCollections OrderedSet+SubSequence.swift
[225/370] Compiling OrderedCollections OrderedSet+Testing.swift
[226/370] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[227/370] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[228/370] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[229/370] Compiling OpenAPIKit30 Validation+Builtins.swift
[230/370] Emitting module OpenAPIKit
[256/378] Emitting module OrderedCollections
[272/379] Compiling ArgumentParser CollectionExtensions.swift
[273/379] Compiling ArgumentParser Platform.swift
[274/379] Compiling ArgumentParser SequenceExtensions.swift
[275/379] Compiling ArgumentParser StringExtensions.swift
[276/379] Compiling ArgumentParser Tree.swift
[331/378] Compiling OpenAPIKit Container+DecodeURLAsString.swift
[332/378] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[333/378] Compiling OpenAPIKit Validation+Builtins.swift
[334/378] Compiling OpenAPIKit Validation.swift
[335/378] Compiling OpenAPIKit Validator+Convenience.swift
[336/378] Compiling OpenAPIKit Validator.swift
[337/378] Compiling OpenAPIKit XML.swift
[338/379] Emitting module Algorithms
[348/378] Compiling OpenAPIKit _CoreReExport.swift
[374/381] Compiling OpenAPIKitCompat Either+Map.swift
[375/381] Emitting module OpenAPIKitCompat
[376/381] Compiling OpenAPIKitCompat Compat30To31.swift
[378/462] Compiling _OpenAPIGeneratorCore Constants.swift
[379/462] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[380/462] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[381/462] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[382/462] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[383/462] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[384/462] Compiling _OpenAPIGeneratorCore ContentType.swift
[385/462] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[386/462] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[387/462] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[388/462] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[389/473] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[390/473] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[391/473] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[392/473] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[393/473] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[394/473] Compiling _OpenAPIGeneratorCore translateResponse.swift
[395/473] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[396/473] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[397/473] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[398/473] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[399/473] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[400/473] Compiling _OpenAPIGeneratorCore Builtins.swift
[401/473] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[402/473] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[403/473] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[404/473] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[405/473] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[406/473] Compiling _OpenAPIGeneratorCore TypeName.swift
[407/473] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[408/473] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[409/473] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[410/473] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[411/473] Compiling _OpenAPIGeneratorCore Config.swift
[412/473] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[413/473] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[414/473] Compiling _OpenAPIGeneratorCore Errors.swift
[415/473] Compiling _OpenAPIGeneratorCore Foundation.swift
[416/473] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[417/473] Compiling _OpenAPIGeneratorCore String.swift
[418/473] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[419/473] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[420/473] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[421/473] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[422/473] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[423/473] Emitting module _OpenAPIGeneratorCore
[424/473] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[425/473] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[426/473] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[427/473] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[428/473] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[429/473] Compiling _OpenAPIGeneratorCore translateComponents.swift
[430/473] Compiling _OpenAPIGeneratorCore translateOperations.swift
[431/473] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[432/473] Compiling _OpenAPIGeneratorCore translateServers.swift
[433/473] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[434/473] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[435/473] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[436/473] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[437/473] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[438/473] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[439/473] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[440/473] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[441/473] Compiling _OpenAPIGeneratorCore YamsParser.swift
[442/473] Compiling _OpenAPIGeneratorCore validateDoc.swift
[443/473] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[444/473] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[445/473] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[446/473] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[447/473] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[448/473] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[449/473] Compiling _OpenAPIGeneratorCore translateArray.swift
[450/473] Compiling _OpenAPIGeneratorCore translateCodable.swift
[451/473] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[452/473] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[453/473] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[454/473] Compiling _OpenAPIGeneratorCore translateSchema.swift
[455/473] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[456/473] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[457/473] Compiling _OpenAPIGeneratorCore Annotations.swift
[458/473] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[459/473] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[460/473] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[461/473] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[462/473] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[463/473] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[464/473] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[465/473] Compiling _OpenAPIGeneratorCore translateParameter.swift
[466/473] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[467/473] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[468/473] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[469/473] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[471/482] Compiling swift_openapi_generator UserConfig.swift
[472/483] Compiling swift_openapi_generator PluginSource.swift
[473/483] Compiling swift_openapi_generator Tool.swift
[474/483] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[475/483] Compiling swift_openapi_generator GenerateOptions.swift
[476/483] Compiling swift_openapi_generator GenerateCommand.swift
[477/483] Compiling swift_openapi_generator Extensions.swift
[478/483] Compiling swift_openapi_generator FilterCommand.swift
[479/483] Emitting module swift_openapi_generator
[480/483] Compiling swift_openapi_generator runGenerator.swift
[481/483] Write Objects.LinkFileList
[482/483] Linking swift-openapi-generator-tool
[483/491] Write swift-version-24593BA9C3E375BF.txt
[484/489] Compiling CSystem shims.c
[486/517] Compiling SystemPackage FilePathTempPosix.swift
[487/517] Compiling SystemPackage FilePathTempWindows.swift
[488/517] Compiling SystemPackage FilePathWindows.swift
[489/517] Compiling SystemPackage FilePermissions.swift
[490/520] Compiling SystemPackage Mocking.swift
[491/520] Compiling SystemPackage RawBuffer.swift
[492/520] Compiling SystemPackage Syscalls.swift
[493/520] Compiling SystemPackage WindowsSyscallAdapters.swift
[494/520] Compiling SystemPackage Backcompat.swift
[495/520] Compiling SystemPackage CInterop.swift
[496/520] Compiling SystemPackage Constants.swift
[497/520] Compiling SystemPackage Exports.swift
[498/520] Compiling SystemPackage MachPort.swift
[499/520] Compiling SystemPackage PlatformString.swift
[500/520] Compiling SystemPackage SystemString.swift
[501/520] Compiling SystemPackage Util+StringArray.swift
[502/520] Compiling SystemPackage Util.swift
[503/520] Compiling SystemPackage UtilConsumers.swift
[504/520] Compiling SystemPackage FileOperations.swift
[505/520] Compiling SystemPackage FilePath.swift
[506/520] Compiling SystemPackage FilePathComponentView.swift
[507/520] Compiling SystemPackage FilePathComponents.swift
[508/520] Emitting module SystemPackage
[509/520] Compiling SystemPackage FilePathParsing.swift
[510/520] Compiling SystemPackage FilePathString.swift
[511/520] Compiling SystemPackage FilePathSyntax.swift
[512/520] Compiling SystemPackage FilePathTemp.swift
[513/520] Compiling SystemPackage Errno.swift
[514/520] Compiling SystemPackage ErrnoWindows.swift
[515/520] Compiling SystemPackage FileDescriptor.swift
[516/520] Compiling SystemPackage FileHelpers.swift
[518/522] Compiling generate_command_models GenerateCommandModels.swift
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:73:13: warning: no 'async' operations occur within 'await' expression
71 | }
72 |
73 | try await allCmds.write(to: URL(fileURLWithPath: self.outputFile), atomically: true, encoding: .utf8)
| `- warning: no 'async' operations occur within 'await' expression
74 | }
75 |
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:184:70: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
183 | name = "-" + shortName
184 | } else if let longNameWithSingleDash = arg.names?.filter { $0.kind == .longWithSingleDash }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
185 | name = "-" + longNameWithSingleDash
186 | }
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:182:57: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
180 | if let longName = arg.names?.filter { $0.kind == .long }.first?.name {
181 | name = "--" + longName
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
183 | name = "-" + shortName
184 | } else if let longNameWithSingleDash = arg.names?.filter { $0.kind == .longWithSingleDash }.first?.name {
/host/spi-builder-workspace/Tools/generate-command-models/GenerateCommandModels.swift:180:49: warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
178 | let flag = arg.kind == .flag
179 | var name: String?
180 | if let longName = arg.names?.filter { $0.kind == .long }.first?.name {
| `- warning: trailing closure in this context is confusable with the body of the statement; pass as a parenthesized argument to silence this warning
181 | name = "--" + longName
182 | } else if let shortName = arg.names?.filter { $0.kind == .short }.first?.name {
[519/522] Emitting module generate_command_models
[520/522] Write Objects.LinkFileList
[521/522] Linking generate-command-models-tool
warning: you may be able to install libarchive using your system-packager:
apt-get install libarchive-dev
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tools/build-swiftly-release/musl-clang
[0/1] Planning build
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:8:52: warning: 'path' is deprecated: renamed to 'url'
6 | guard let target = target as? SourceModuleTarget else { return [] }
7 |
8 | let jsonSources = target.sourceFiles.map(\.path).filter { $0.extension == "json" }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
9 |
10 | guard jsonSources.count > 0 else { return [] }
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:8:70: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
6 | guard let target = target as? SourceModuleTarget else { return [] }
7 |
8 | let jsonSources = target.sourceFiles.map(\.path).filter { $0.extension == "json" }
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
9 |
10 | guard jsonSources.count > 0 else { return [] }
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:12:34: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
10 | guard jsonSources.count > 0 else { return [] }
11 |
12 | let outputPath = context.pluginWorkDirectory.appending("Commands.swift")
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
13 |
14 | return [
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:12:54: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
10 | guard jsonSources.count > 0 else { return [] }
11 |
12 | let outputPath = context.pluginWorkDirectory.appending("Commands.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 |
14 | return [
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:15:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
13 |
14 | return [
15 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
16 | displayName: "Generating Command Models from dumped JSON help",
17 | executable: try context.tool(named: "generate-command-models").path,
/host/spi-builder-workspace/Plugins/GenerateCommandModels/plugin.swift:17:80: warning: 'path' is deprecated: renamed to 'url'
15 | .buildCommand(
16 | displayName: "Generating Command Models from dumped JSON help",
17 | executable: try context.tool(named: "generate-command-models").path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
18 | arguments: ["--output-file", outputPath] + jsonSources,
19 | inputFiles: jsonSources,
[1/1] Compiling plugin GenerateCommandModels
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:10:85: warning: 'path' is deprecated: renamed to 'url'
8 | ) async throws {
9 | // Locate generation tool.
10 | let generationToolFile = try context.tool(named: "generate-docs-reference").path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
11 |
12 | // Create an extractor to extract plugin-only arguments from the `arguments`
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:55:48: warning: 'path' is deprecated: renamed to 'url'
53 |
54 | // Get the artifacts name.
55 | let executableName = builtArtifact.path.lastComponent
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
56 |
57 | print("Generating docs reference for \(executableName)...")
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:55:53: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
53 |
54 | // Get the artifacts name.
55 | let executableName = builtArtifact.path.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
56 |
57 | print("Generating docs reference for \(executableName)...")
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:59:46: warning: 'directory' is deprecated: renamed to 'directoryURL'
57 | print("Generating docs reference for \(executableName)...")
58 |
59 | let outputFile = context.package.directory
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
60 | .appending("Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md")
61 |
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:60:18: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
58 |
59 | let outputFile = context.package.directory
60 | .appending("Documentation/SwiftlyDocs.docc/swiftly-cli-reference.md")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
61 |
62 | // Create generation tool arguments.
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:64:31: warning: 'path' is deprecated: renamed to 'url'
62 | // Create generation tool arguments.
63 | var generationToolArguments = [
64 | builtArtifact.path.string,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
65 | "--output-file",
66 | outputFile.string,
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:64:36: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
62 | // Create generation tool arguments.
63 | var generationToolArguments = [
64 | builtArtifact.path.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
65 | "--output-file",
66 | outputFile.string,
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:66:28: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
64 | builtArtifact.path.string,
65 | "--output-file",
66 | outputFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
67 | ]
68 | generationToolArguments.append(
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReference.swift:73:50: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
71 | // Spawn generation tool.
72 | try generationToolFile.exec(arguments: generationToolArguments)
73 | print("Generated docs reference in '\(outputFile)'")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
74 | }
75 | }
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReferenceError.swift:26:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
24 | case let .subprocessFailedNonZeroExit(tool, exitCode):
25 | return """
26 | '\(tool.lastComponent)' invocation failed with a nonzero exit code: \
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
27 | '\(exitCode)'.
28 | """
/host/spi-builder-workspace/Plugins/GenerateDocsReference/GenerateDocsReferenceError.swift:31:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
29 | case let .subprocessFailedError(tool, error):
30 | return """
31 | '\(tool.lastComponent)' invocation failed: \
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
32 | '\(error.localizedDescription)'
33 | """
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:32:30: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
30 | do {
31 | try FileManager.default.createDirectory(
32 | atPath: self.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
33 | withIntermediateDirectories: true
34 | )
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:43:63: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
41 | do {
42 | let process = Process()
43 | process.executableURL = URL(fileURLWithPath: self.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
44 | process.arguments = arguments
45 | try process.run()
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:66:38: warning: 'path' is deprecated: renamed to 'url'
64 | .package
65 | .products
66 | .first { $0.name == self.path.lastComponent }
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
67 | }
68 | }
/host/spi-builder-workspace/Plugins/GenerateDocsReference/PackagePlugin+Helpers.swift:66:43: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
64 | .package
65 | .products
66 | .first { $0.name == self.path.lastComponent }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
67 | }
68 | }
[2/2] Compiling plugin GenerateDocsReference
[3/3] Compiling plugin OpenAPIGeneratorCommand
[4/4] Compiling plugin OpenAPIGenerator
[5/5] Compiling plugin Swift-DocC Preview
[6/6] Compiling plugin Swift-DocC
[7/7] Compiling plugin GenerateManual
Building for debugging...
[7/492] Write sources
[12/501] Compiling fiat_curve25519_adx_mul.S
[13/501] Compiling fiat_p256_adx_mul.S
[14/501] Compiling fiat_curve25519_adx_square.S
[15/501] Compiling _NumericsShims _NumericsShims.c
[16/501] Compiling fiat_p256_adx_sqr.S
[17/501] Compiling writer.c
[18/501] Compiling reader.c
[19/501] Write swift-version-24593BA9C3E375BF.txt
[20/501] Compiling parser.c
[21/501] Compiling scanner.c
[22/501] Compiling api.c
[23/501] Compiling emitter.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/518] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[26/518] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[26/537] Compiling tls_record.cc
[26/537] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[26/537] Compiling tls_method.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>
| ^~~~~~~~~~~
[26/537] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm