Build Information
Failed to build pkl-swift, reference 0.4.2 (d6f087
), with Swift 6.1 for Wasm on 30 May 2025 19:25:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: 0.4.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/pkl-swift
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at d6f0870 Prepare 0.4.2 release (#48)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
d6f08700d66e11c1087a79ec8172b1841b0fc9ca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.4.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
https://github.com/apple/pkl-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SemanticVersion"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "pkl-swift",
"name" : "pkl-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MessagePack",
"targets" : [
"MessagePack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PklSwift",
"targets" : [
"PklSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "pkl-gen-swift",
"targets" : [
"pkl-gen-swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "test-external-reader",
"targets" : [
"test-external-reader"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "test_external_reader",
"module_type" : "SwiftTarget",
"name" : "test-external-reader",
"path" : "Sources/test-external-reader",
"product_memberships" : [
"test-external-reader"
],
"sources" : [
"TestExternalReader.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "pkl_gen_swift",
"module_type" : "SwiftTarget",
"name" : "pkl-gen-swift",
"path" : "Sources/pkl-gen-swift",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"pkl-gen-swift"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/pkl-gen-swift/Resources/VERSION.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"Generated/GeneratorSettings.pkl.swift",
"PklGenSwift.swift",
"PklSwiftGenerator.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "PklSwiftTests",
"module_type" : "SwiftTarget",
"name" : "PklSwiftTests",
"path" : "Tests/PklSwiftTests",
"sources" : [
"API/DataSizeTests.swift",
"API/DurationTests.swift",
"Decoder/PklDecoderTest.swift",
"EvaluatorManagerTest.swift",
"EvaluatorTest.swift",
"ExternalReaderClientTest.swift",
"Fixtures/Generated/AnyType.pkl.swift",
"Fixtures/Generated/ApiTypes.pkl.swift",
"Fixtures/Generated/Classes.pkl.swift",
"Fixtures/Generated/Collections.pkl.swift",
"Fixtures/Generated/ExtendedModule.pkl.swift",
"Fixtures/Generated/OpenModule.pkl.swift",
"Fixtures/Generated/UnionTypes.pkl.swift",
"Fixtures/Generated/pkl_swift_example_Poly.pkl.swift",
"Fixtures/Generated/pkl_swift_lib1.pkl.swift",
"FixturesTest.swift",
"ProjectTest.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "test"
},
{
"c99name" : "PklSwiftInternals",
"module_type" : "ClangTarget",
"name" : "PklSwiftInternals",
"path" : "Sources/PklSwiftInternals",
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"Discovery.cpp"
],
"type" : "library"
},
{
"c99name" : "PklSwift",
"module_type" : "SwiftTarget",
"name" : "PklSwift",
"path" : "Sources/PklSwift",
"product_dependencies" : [
"SemanticVersion"
],
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"API/DataSize.swift",
"API/Duration.swift",
"Decoder/PklDecoder.swift",
"Decoder/PklMapDecodingContainer.swift",
"Decoder/PklSingleValueDecodingContainer.swift",
"Decoder/PklTypedDecodingContainer.swift",
"Decoder/PklUnkeyedDecodingContainer.swift",
"Evaluator.swift",
"EvaluatorManager.swift",
"EvaluatorOptions.swift",
"ExternalReaderClient.swift",
"Logger.swift",
"Message.swift",
"MessageTransport.swift",
"ModuleSource.swift",
"PklCodingKey.swift",
"PklEvaluatorSettings.swift",
"Project.swift",
"Reader.swift",
"TypeRegistry.swift",
"Utils.swift",
"locks.swift"
],
"target_dependencies" : [
"MessagePack",
"PklSwiftInternals"
],
"type" : "library"
},
{
"c99name" : "MessagePackTests",
"module_type" : "SwiftTarget",
"name" : "MessagePackTests",
"path" : "Tests/MessagePackTests",
"sources" : [
"MessagePackDecodingTests.swift",
"MessagePackEncodingTests.swift"
],
"target_dependencies" : [
"MessagePack"
],
"type" : "test"
},
{
"c99name" : "MessagePack",
"module_type" : "SwiftTarget",
"name" : "MessagePack",
"path" : "Sources/MessagePack",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"MessagePack",
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"AnyCodingKey.swift",
"Box.swift",
"Decoder/KeyedDecodingContainer.swift",
"Decoder/KeyedSingleDecodingContainer.swift",
"Decoder/MessagePackDecoder.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/UnkeyedDecodingContainer.swift",
"Decoder/UnkeyedMapDecodingContainer.swift",
"Decoder/_MessagePackDecoder.swift",
"Encoder/KeyedEncodingContainer.swift",
"Encoder/MessagePackEncoder.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/UnkeyedEncodingContainer.swift",
"FixedWidthInteger.swift",
"IO.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/apple/swift-system
[1/323] Fetching semanticversion
[324/2372] Fetching semanticversion, swift-docc-plugin
[570/6763] Fetching semanticversion, swift-docc-plugin, swift-system
[6764/22149] Fetching semanticversion, swift-docc-plugin, swift-system, swift-argument-parser
[20920/70357] Fetching semanticversion, swift-docc-plugin, swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (1.92s)
Fetched https://github.com/apple/swift-system from cache (1.92s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.92s)
[21654/63594] Fetching swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (20.91s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (21.58s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.4.0 (26.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.87s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.53s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.48s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.49s)
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/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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
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/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/29] Write sources
[10/29] Write embedded_resources.swift
[11/29] Write sources
[12/29] Copying Documentation.docc
[13/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/64] Compiling PklSwiftInternals Discovery.cpp
[18/64] Emitting module ArgumentParserToolInfo
[19/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/65] Compiling SystemPackage Errno.swift
[21/65] Compiling SystemPackage ErrnoWindows.swift
[22/65] Compiling SystemPackage FileDescriptor.swift
[23/65] Compiling SystemPackage FileHelpers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/65] 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)
[26/68] Compiling SystemPackage MachPort.swift
[27/68] Compiling SystemPackage PlatformString.swift
[28/68] Compiling SystemPackage SystemString.swift
[28/86] Wrapping AST for ArgumentParserToolInfo for debugging
[30/106] Compiling ArgumentParser Errors.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)
[31/106] Compiling ArgumentParser Flag.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)
[32/106] Compiling ArgumentParser NameSpecification.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)
[33/106] Compiling ArgumentParser Option.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)
[34/106] Compiling ArgumentParser OptionGroup.swift
[35/106] Compiling ArgumentParser AsyncParsableCommand.swift
[36/106] Compiling ArgumentParser CommandConfiguration.swift
[37/106] Compiling ArgumentParser CommandGroup.swift
[38/106] Compiling ArgumentParser Argument.swift
[39/106] Compiling ArgumentParser ArgumentHelp.swift
[40/106] Compiling ArgumentParser ArgumentVisibility.swift
[41/106] Compiling ArgumentParser CompletionKind.swift
[42/106] Compiling ArgumentParser EnumerableFlag.swift
[43/106] Compiling ArgumentParser ExpressibleByArgument.swift
[44/106] Compiling ArgumentParser ParsableArguments.swift
[45/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/106] Compiling ArgumentParser ParsableCommand.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[47/106] Compiling ArgumentParser ArgumentDecoder.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[48/106] Compiling ArgumentParser ArgumentDefinition.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[49/106] Compiling ArgumentParser ArgumentSet.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[50/106] Compiling ArgumentParser Name.swift
[51/106] Compiling ArgumentParser Parsed.swift
[52/106] Compiling ArgumentParser ParsedValues.swift
[53/106] Emitting module SemanticVersion
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/17] Write swift-version-24593BA9C3E375BF.txt
[6/52] 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)
[7/52] 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)
[8/52] 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)
[9/52] 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)
[10/55] Compiling SystemPackage Backcompat.swift
[11/55] Compiling SystemPackage CInterop.swift
[12/55] Compiling SystemPackage Constants.swift
[13/55] Compiling SystemPackage Exports.swift
[14/55] Compiling SemanticVersion resource_bundle_accessor.swift
[15/55] Compiling SemanticVersion SemanticVersion.swift
[16/55] Emitting module SemanticVersion
[17/55] Compiling SemanticVersion SemanticVersion+Codable.swift
[18/55] Compiling SemanticVersion NSRegularExpression+ext.swift
[19/55] Emitting module ArgumentParserToolInfo
[20/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/57] Compiling SystemPackage Util+StringArray.swift
[24/57] Compiling SystemPackage Util.swift
[25/57] Compiling SystemPackage UtilConsumers.swift
[26/56] Compiling SystemPackage MachPort.swift
[27/56] Compiling SystemPackage PlatformString.swift
[28/56] Compiling SystemPackage SystemString.swift
[29/56] Compiling SystemPackage Mocking.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[30/56] Compiling SystemPackage RawBuffer.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[31/56] Compiling SystemPackage Syscalls.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
[32/56] Compiling SystemPackage WindowsSyscallAdapters.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 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:252:10: error: cannot find 'umask' in scope
250 | _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 | return umask(mode)
| `- error: cannot find 'umask' in scope
253 | }
254 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/56] 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)
[33/56] Wrapping AST for SemanticVersion for debugging
[35/94] Compiling ArgumentParser Errors.swift
[36/94] Compiling ArgumentParser Flag.swift
[37/94] Compiling ArgumentParser NameSpecification.swift
[38/94] Compiling ArgumentParser Option.swift
[39/94] Compiling ArgumentParser Argument.swift
[40/94] Compiling ArgumentParser ArgumentHelp.swift
[41/94] Compiling ArgumentParser ArgumentVisibility.swift
[42/94] Compiling ArgumentParser CompletionKind.swift
[43/94] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/94] Compiling ArgumentParser CompletionsGenerator.swift
[45/94] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/94] Compiling ArgumentParser ZshCompletionsGenerator.swift
BUILD FAILURE 6.1 wasm