Build Information
Failed to build Flint, reference master (66d039
), with Swift 6.1 for Wasm on 27 May 2025 18:03:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flintprocessor/Flint.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/flintprocessor/Flint
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 66d039a Merge branch 'develop'
Cloned https://github.com/flintprocessor/Flint.git
Revision (git rev-parse @):
66d039a200a7ccd4f347f8bf1aecef1576ff2311
SUCCESS checkout https://github.com/flintprocessor/Flint.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/flintprocessor/Flint.git
https://github.com/flintprocessor/Flint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bouncer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/flintbox/Bouncer"
},
{
"identity" : "motor",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/flintbox/Motor"
},
{
"identity" : "work",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/flintbox/Work"
},
{
"identity" : "ansiescapecode",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/flintbox/ANSIEscapeCode"
},
{
"identity" : "pathfinder",
"requirement" : {
"branch" : [
"develop"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jasonnam/PathFinder"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Flint",
"name" : "Flint",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "flint",
"targets" : [
"Flint"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Flint",
"module_type" : "SwiftTarget",
"name" : "Flint",
"path" : "Sources/Flint",
"product_dependencies" : [
"Bouncer",
"Motor",
"Work",
"ANSIEscapeCode",
"PathFinder",
"Yams"
],
"product_memberships" : [
"flint"
],
"sources" : [
"Convenience/print.swift",
"Convenience/processVariables.swift",
"Convenience/readManifest.swift",
"Environment/Env.swift",
"Environment/TemplateHomePath.swift",
"Models/Template/Manifest.swift",
"Models/Template/Template.swift",
"Models/Template/TemplateFormatError.swift",
"Models/Template/Variable.swift",
"Process/processCustomVariables.swift",
"Process/processDateVariables.swift",
"Process/processFileAttributes.swift",
"Process/processIncludedFiles.swift",
"help/helpCommand.swift",
"help/helpCommandHandler.swift",
"input/inputCommand.swift",
"input/inputCommandHandler.swift",
"input/inputCommandOptions.swift",
"main.swift",
"spark/sparkCommand.swift",
"spark/sparkCommandHandler.swift",
"spark/sparkCommandOptions.swift",
"template/add/templateAddCommand.swift",
"template/add/templateAddCommandHandler.swift",
"template/add/templateAddCommandOptions.swift",
"template/clone/templateCloneCommand.swift",
"template/clone/templateCloneCommandHandler.swift",
"template/clone/templateCloneCommandOptions.swift",
"template/list/templateListCommand.swift",
"template/list/templateListCommandHandler.swift",
"template/list/templateListCommandOptions.swift",
"template/remove/templateRemoveCommand.swift",
"template/remove/templateRemoveCommandHandler.swift",
"template/remove/templateRemoveCommandOptions.swift",
"version/version.swift",
"version/versionCommand.swift",
"version/versionCommandHandler.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jasonnam/PathFinder
[4/376] Fetching pathfinder
Fetched https://github.com/jasonnam/PathFinder from cache (0.28s)
Fetching https://github.com/flintbox/Work
Fetching https://github.com/flintbox/ANSIEscapeCode
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/flintbox/Motor
Fetching https://github.com/flintbox/Bouncer
[1/44] Fetching motor
[45/254] Fetching motor, bouncer
[239/278] Fetching motor, bouncer, work
[275/327] Fetching motor, bouncer, work, ansiescapecode
[324/10984] Fetching motor, bouncer, work, ansiescapecode, yams
Fetched https://github.com/flintbox/Work from cache (0.45s)
Fetched https://github.com/flintbox/ANSIEscapeCode from cache (0.45s)
Fetched https://github.com/flintbox/Bouncer from cache (0.45s)
Fetched https://github.com/flintbox/Motor from cache (0.45s)
[107/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.47s)
Computing version for https://github.com/flintbox/ANSIEscapeCode
Computed https://github.com/flintbox/ANSIEscapeCode at 0.1.1 (2.42s)
Computing version for https://github.com/flintbox/Work
Computed https://github.com/flintbox/Work at 0.1.1 (0.84s)
Computing version for https://github.com/flintbox/Motor
Computed https://github.com/flintbox/Motor at 0.1.2 (1.92s)
Computing version for https://github.com/flintbox/Bouncer
Computed https://github.com/flintbox/Bouncer at 0.1.3 (0.86s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.94s)
Creating working copy for https://github.com/flintbox/Bouncer
Working copy of https://github.com/flintbox/Bouncer resolved at 0.1.3
Creating working copy for https://github.com/flintbox/Work
Working copy of https://github.com/flintbox/Work resolved at 0.1.1
Creating working copy for https://github.com/flintbox/ANSIEscapeCode
Working copy of https://github.com/flintbox/ANSIEscapeCode resolved at 0.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/jasonnam/PathFinder
Working copy of https://github.com/jasonnam/PathFinder resolved at develop (ff5bdaf)
Creating working copy for https://github.com/flintbox/Motor
Working copy of https://github.com/flintbox/Motor resolved at 0.1.2
Building for debugging...
[0/23] Write sources
[7/23] Compiling writer.c
[8/23] Compiling reader.c
[9/23] Write swift-version-24593BA9C3E375BF.txt
[10/23] Compiling api.c
[11/23] Compiling parser.c
[12/30] Compiling emitter.c
[13/60] Compiling scanner.c
[15/75] Compiling Yams Mark.swift
[16/75] Compiling Yams Node.Mapping.swift
[17/77] Compiling Yams YamlError.swift
[18/77] Compiling Yams shim.swift
[19/77] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
[20/78] Compiling PathFinder Path+Attributes.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
109 | /// The key in a file attribute dictionary whose
110 | /// value indicates the file's HFS creator code.
111 | public func hfsCreatorCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
112 | return (try attributes() as NSDictionary).fileHFSCreatorCode()
113 | }
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
115 | /// The key in a file attribute dictionary whose
116 | /// value indicates the file's HFS type code.
117 | public func hfsTypeCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
118 | return (try attributes() as NSDictionary).fileHFSTypeCode()
119 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/79] Emitting module PathFinder
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
109 | /// The key in a file attribute dictionary whose
110 | /// value indicates the file's HFS creator code.
111 | public func hfsCreatorCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
112 | return (try attributes() as NSDictionary).fileHFSCreatorCode()
113 | }
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
115 | /// The key in a file attribute dictionary whose
116 | /// value indicates the file's HFS type code.
117 | public func hfsTypeCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
118 | return (try attributes() as NSDictionary).fileHFSTypeCode()
119 | }
[22/79] Compiling Yams Emitter.swift
[23/79] Compiling Yams Encoder.swift
[24/79] Compiling PathFinder Path+Directory.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:44:54: error: value of type 'FileManager' has no member 'containerURL'
42 | public static func containerURL(forSecurityApplicationGroupIdentifier
43 | securityApplicationGroupIdentifier: String) -> Path? {
44 | guard let containerURL = FileManager.default.containerURL(
| `- error: value of type 'FileManager' has no member 'containerURL'
45 | forSecurityApplicationGroupIdentifier: securityApplicationGroupIdentifier) else { return nil }
46 | return Path(url: containerURL)
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:72:38: error: cannot find 'NSOpenStepRootDirectory' in scope
70 | /// Returns the root directory of the user’s system.
71 | public static var openStepRootDirectory: Path {
72 | return Path(fileURLWithPath: NSOpenStepRootDirectory())
| `- error: cannot find 'NSOpenStepRootDirectory' in scope
73 | }
74 |
[25/79] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 | // it uses with `String(format:...)`
297 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 | // "%*.g" does not use scientific notation if the exponent is less than –4.
299 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[26/79] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 | // it uses with `String(format:...)`
297 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 | // "%*.g" does not use scientific notation if the exponent is less than –4.
299 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[27/79] Compiling Yams String+Yams.swift
[28/79] Compiling Yams Tag.swift
[29/79] Compiling ANSIEscapeCode EraseInDisplayType.swift
[30/79] Compiling PathFinder Path+URL.swift
[33/79] Compiling PathFinder Path.swift
[34/79] Compiling Work WorkResult.swift
[35/79] Emitting module Bouncer
[36/79] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[37/79] Compiling ANSIEscapeCode EraseInLineType.swift
[38/79] Compiling ANSIEscapeCode Scroll.swift
[39/79] Compiling Yams Constructor.swift
[40/79] Compiling Yams Decoder.swift
[41/79] Compiling Bouncer CommandParsingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/79] Emitting module Work
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
52 |
53 | /// Process object.
54 | public let task: Process
| `- error: cannot find type 'Process' in scope
55 | /// Standard output handler.
56 | open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 | /// Execute shell command.
106 | open override func main() {
| `- error: method does not override any method from its superclass
107 | task.launch()
108 | task.waitUntilExit()
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
27 |
28 | /// Shell command.
29 | open class Work: Operation {
| `- error: cannot find type 'Operation' in scope
30 |
31 | /// Termination result.
[43/79] Compiling Yams Node.Scalar.swift
[44/79] Compiling Yams Node.Sequence.swift
[45/79] Compiling Yams Node.swift
[46/79] Compiling Yams Parser.swift
[57/80] Compiling Work Work.swift
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
52 |
53 | /// Process object.
54 | public let task: Process
| `- error: cannot find type 'Process' in scope
55 | /// Standard output handler.
56 | open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 | /// Execute shell command.
106 | open override func main() {
| `- error: method does not override any method from its superclass
107 | task.launch()
108 | task.waitUntilExit()
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
27 |
28 | /// Shell command.
29 | open class Work: Operation {
| `- error: cannot find type 'Operation' in scope
30 |
31 | /// Termination result.
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:73:16: error: cannot find 'Process' in scope
71 | standardErrorHandler: ((String) -> Void)? = nil,
72 | completion: ((WorkResult) -> Void)? = nil) {
73 | task = Process()
| `- error: cannot find 'Process' in scope
74 | self.standardOutputHandler = standardOutputHandler
75 | self.standardErrorHandler = standardErrorHandler
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:84:9: error: 'super' cannot be used in class 'Work' because it has no superclass
82 | standardErrorRawString = ""
83 |
84 | super.init()
| `- error: 'super' cannot be used in class 'Work' because it has no superclass
85 |
86 | task.launchPath = "/bin/bash"
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:91:49: error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | task.standardError = standardErrorPipe
90 |
91 | standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
92 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
93 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:91:84: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
89 | task.standardError = standardErrorPipe
90 |
91 | standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
92 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
93 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:97:48: error: value of type 'FileHandle' has no member 'readabilityHandler'
95 | self?.standardOutputHandler?(string.trimmingNewLineCharacter())
96 | }
97 | standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
98 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
99 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:97:83: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
95 | self?.standardOutputHandler?(string.trimmingNewLineCharacter())
96 | }
97 | standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
98 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
99 | guard !string.isEmpty else { return }
[58/80] Emitting module ANSIEscapeCode
[59/80] Compiling Work String+Trimming.swift
[60/80] Compiling PathFinder Path+Operator.swift
[61/80] Compiling PathFinder Path+Subscript.swift
[62/80] Emitting module Yams
[69/80] Compiling ANSIEscapeCode TextColor.swift
[70/81] Compiling PathFinder ReadAttributesError.swift
[72/81] Compiling Bouncer Program.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/62] Emitting module Work
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
52 |
53 | /// Process object.
54 | public let task: Process
| `- error: cannot find type 'Process' in scope
55 | /// Standard output handler.
56 | open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 | /// Execute shell command.
106 | open override func main() {
| `- error: method does not override any method from its superclass
107 | task.launch()
108 | task.waitUntilExit()
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
27 |
28 | /// Shell command.
29 | open class Work: Operation {
| `- error: cannot find type 'Operation' in scope
30 |
31 | /// Termination result.
[3/62] Compiling Bouncer CommandParsingError.swift
[4/62] Compiling Work WorkResult.swift
[5/63] Compiling ANSIEscapeCode EraseInDisplayType.swift
[6/63] Compiling ANSIEscapeCode EraseInLineType.swift
[7/64] Emitting module ANSIEscapeCode
[8/64] Compiling Yams Constructor.swift
[9/64] Compiling Yams Decoder.swift
[10/64] Compiling PathFinder Path+Attributes.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
109 | /// The key in a file attribute dictionary whose
110 | /// value indicates the file's HFS creator code.
111 | public func hfsCreatorCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
112 | return (try attributes() as NSDictionary).fileHFSCreatorCode()
113 | }
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
115 | /// The key in a file attribute dictionary whose
116 | /// value indicates the file's HFS type code.
117 | public func hfsTypeCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
118 | return (try attributes() as NSDictionary).fileHFSTypeCode()
119 | }
[11/65] Compiling Yams Mark.swift
[12/65] Compiling Yams Node.Mapping.swift
[13/65] Compiling Yams Emitter.swift
[14/65] Compiling Yams Encoder.swift
[17/65] Compiling ANSIEscapeCode PrintANSIEscapeCode.swift
[18/65] Compiling Yams Node.Scalar.swift
[19/65] Compiling Yams Node.Sequence.swift
[20/65] Compiling Yams Node.swift
[21/65] Compiling Yams Parser.swift
[22/65] Compiling Yams Representer.swift
[23/65] Compiling Yams Resolver.swift
[24/65] Compiling PathFinder Path+Subscript.swift
[25/65] Compiling Work Work.swift
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:54:22: error: cannot find type 'Process' in scope
52 |
53 | /// Process object.
54 | public let task: Process
| `- error: cannot find type 'Process' in scope
55 | /// Standard output handler.
56 | open var standardOutputHandler: ((String) -> Void)?
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:106:24: error: method does not override any method from its superclass
104 |
105 | /// Execute shell command.
106 | open override func main() {
| `- error: method does not override any method from its superclass
107 | task.launch()
108 | task.waitUntilExit()
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:29:18: error: cannot find type 'Operation' in scope
27 |
28 | /// Shell command.
29 | open class Work: Operation {
| `- error: cannot find type 'Operation' in scope
30 |
31 | /// Termination result.
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:73:16: error: cannot find 'Process' in scope
71 | standardErrorHandler: ((String) -> Void)? = nil,
72 | completion: ((WorkResult) -> Void)? = nil) {
73 | task = Process()
| `- error: cannot find 'Process' in scope
74 | self.standardOutputHandler = standardOutputHandler
75 | self.standardErrorHandler = standardErrorHandler
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:84:9: error: 'super' cannot be used in class 'Work' because it has no superclass
82 | standardErrorRawString = ""
83 |
84 | super.init()
| `- error: 'super' cannot be used in class 'Work' because it has no superclass
85 |
86 | task.launchPath = "/bin/bash"
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:91:49: error: value of type 'FileHandle' has no member 'readabilityHandler'
89 | task.standardError = standardErrorPipe
90 |
91 | standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
92 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
93 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:91:84: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
89 | task.standardError = standardErrorPipe
90 |
91 | standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
92 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
93 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:97:48: error: value of type 'FileHandle' has no member 'readabilityHandler'
95 | self?.standardOutputHandler?(string.trimmingNewLineCharacter())
96 | }
97 | standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: value of type 'FileHandle' has no member 'readabilityHandler'
98 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
99 | guard !string.isEmpty else { return }
/host/spi-builder-workspace/.build/checkouts/Work/Sources/Work/Work.swift:97:83: error: cannot infer type of closure parameter 'fileHandle' without a type annotation
95 | self?.standardOutputHandler?(string.trimmingNewLineCharacter())
96 | }
97 | standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
| `- error: cannot infer type of closure parameter 'fileHandle' without a type annotation
98 | guard let string = String(data: fileHandle.availableData, encoding: .utf8) else { return }
99 | guard !string.isEmpty else { return }
[26/65] Compiling Work String+Trimming.swift
[27/65] Compiling PathFinder Path+Directory.swift
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:44:54: error: value of type 'FileManager' has no member 'containerURL'
42 | public static func containerURL(forSecurityApplicationGroupIdentifier
43 | securityApplicationGroupIdentifier: String) -> Path? {
44 | guard let containerURL = FileManager.default.containerURL(
| `- error: value of type 'FileManager' has no member 'containerURL'
45 | forSecurityApplicationGroupIdentifier: securityApplicationGroupIdentifier) else { return nil }
46 | return Path(url: containerURL)
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Directory.swift:72:38: error: cannot find 'NSOpenStepRootDirectory' in scope
70 | /// Returns the root directory of the user’s system.
71 | public static var openStepRootDirectory: Path {
72 | return Path(fileURLWithPath: NSOpenStepRootDirectory())
| `- error: cannot find 'NSOpenStepRootDirectory' in scope
73 | }
74 |
[28/65] Compiling PathFinder Path+Operator.swift
[29/65] Compiling ANSIEscapeCode Scroll.swift
[30/65] Compiling ANSIEscapeCode String+ANSIEscapeCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/65] Emitting module PathFinder
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:111:44: error: cannot find type 'OSType' in scope
109 | /// The key in a file attribute dictionary whose
110 | /// value indicates the file's HFS creator code.
111 | public func hfsCreatorCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
112 | return (try attributes() as NSDictionary).fileHFSCreatorCode()
113 | }
/host/spi-builder-workspace/.build/checkouts/PathFinder/Sources/PathFinder/Path+Attributes.swift:117:41: error: cannot find type 'OSType' in scope
115 | /// The key in a file attribute dictionary whose
116 | /// value indicates the file's HFS type code.
117 | public func hfsTypeCode() throws -> OSType {
| `- error: cannot find type 'OSType' in scope
118 | return (try attributes() as NSDictionary).fileHFSTypeCode()
119 | }
[34/65] Compiling PathFinder ReadAttributesError.swift
[35/65] Compiling ANSIEscapeCode TextColor.swift
[36/66] Compiling Bouncer Program.swift
[37/66] Compiling PathFinder Path+URL.swift
[38/66] Emitting module Bouncer
BUILD FAILURE 6.1 wasm