The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build nef, reference 0.7.1 (517340), with Swift 6.1 for Wasm on 28 May 2025 04:17:26 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/bow-swift/nef.git
Reference: 0.7.1
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/bow-swift/nef
 * tag               0.7.1      -> FETCH_HEAD
HEAD is now at 517340f env: use full path to invoke nef
Cloned https://github.com/bow-swift/nef.git
Revision (git rev-parse @):
517340f71e4e38eee24ac698d88a913a52d49b9e
SUCCESS checkout https://github.com/bow-swift/nef.git at 0.7.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bow-swift/nef.git
https://github.com/bow-swift/nef.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bow",
      "requirement" : {
        "exact" : [
          "0.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bow-swift/bow.git"
    },
    {
      "identity" : "swiftline",
      "requirement" : {
        "exact" : [
          "0.5.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bow-swift/Swiftline.git"
    }
  ],
  "manifest_display_name" : "nef",
  "name" : "nef",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "nef",
      "targets" : [
        "nef",
        "NefModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "nef",
      "module_type" : "SwiftTarget",
      "name" : "nef",
      "path" : "project/Component/nef",
      "product_dependencies" : [
        "Swiftline"
      ],
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Instances/UnixFileSystem.swift",
        "Instances/UnixPackageShell.swift",
        "Instances/UnixPlaygroundSystem.swift",
        "Instances/UnixRenderSystem.swift",
        "JekyllAPI.swift",
        "MarkdownAPI.swift",
        "Models/Error.swift",
        "SwiftPlaygroundAPI.swift",
        "Utils/BuildConfiguration.swift",
        "Utils/URL+PlaygroundPage.swift",
        "VersionAPI.swift"
      ],
      "target_dependencies" : [
        "NefModels",
        "NefCommon",
        "NefCore",
        "NefRender",
        "NefMarkdown",
        "NefJekyll",
        "NefSwiftPlayground"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefSwiftPlayground",
      "module_type" : "SwiftTarget",
      "name" : "NefSwiftPlayground",
      "path" : "project/Component/NefSwiftPlayground",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Algebras/PackageShell.swift",
        "Assets.swift",
        "Assets/ImageReference.swift",
        "Errors/PackageShellError.swift",
        "Errors/PlaygroundBookError.swift",
        "Errors/SwiftPlaygroundError.swift",
        "Models/Module.swift",
        "Models/Package.swift",
        "Models/PlaygroundBookEvent.swift",
        "Models/PlaygroundBookResolutionPath.swift",
        "Models/PlaygroundBookTemplate.swift",
        "Models/PlaygroundEnvironment.swift",
        "Models/PlaygroundResolutionPath.swift",
        "Models/SwiftPackage.swift",
        "Models/SwiftPackageProduct.swift",
        "PlaygroundBook.swift",
        "SwiftPlayground.swift"
      ],
      "target_dependencies" : [
        "NefCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefRender",
      "module_type" : "SwiftTarget",
      "name" : "NefRender",
      "path" : "project/Component/NefRender",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Errors/MarkdownError.swift",
        "Models/RenderEnvironment.swift",
        "Models/RenderEvent.swift",
        "Render.swift"
      ],
      "target_dependencies" : [
        "NefCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefModels",
      "module_type" : "SwiftTarget",
      "name" : "NefModels",
      "path" : "project/Component/NefModels",
      "product_dependencies" : [
        "Bow",
        "BowEffects",
        "BowOptics"
      ],
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "CarbonModel.swift",
        "CompilerOptions.swift",
        "PlaygroundDependencies.swift",
        "PlaygroundExcludeItem.swift",
        "PlaygroundPlatform.swift",
        "ProgressReport.swift",
        "RenderedPage.swift",
        "SwiftModule.swift",
        "WorkspaceInfo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "NefMarkdown",
      "path" : "project/Component/NefMarkdown",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/RenderMarkdownEnvironment.swift",
        "NefMarkdown.swift"
      ],
      "target_dependencies" : [
        "NefRender"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefJekyll",
      "module_type" : "SwiftTarget",
      "name" : "NefJekyll",
      "path" : "project/Component/NefJekyll",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/JekyllEvent.swift",
        "Models/RenderJekyllEnvironment.swift",
        "NefJekyll.swift"
      ],
      "target_dependencies" : [
        "NefRender"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefCore",
      "module_type" : "SwiftTarget",
      "name" : "NefCore",
      "path" : "project/Core",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Models/CoreEnvironments.swift",
        "Models/CoreRenderError.swift",
        "Models/Image.swift",
        "Models/MarkupNode.swift",
        "Parser/Lexical.swift",
        "Parser/Syntax.swift",
        "Render/CoreCarbon.swift",
        "Render/CoreCode.swift",
        "Render/CoreJekyll.swift",
        "Render/CoreMarkdown.swift",
        "Render/CoreRender.swift",
        "Utils/Node+Render.swift",
        "Utils/String+Format.swift"
      ],
      "target_dependencies" : [
        "NefCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NefCommon",
      "module_type" : "SwiftTarget",
      "name" : "NefCommon",
      "path" : "project/Component/NefCommon",
      "product_memberships" : [
        "nef"
      ],
      "sources" : [
        "Algebras/FileSystem.swift",
        "Algebras/NefPlaygroundSystem.swift",
        "Algebras/RenderingPersistence.swift",
        "Algebras/XcodePlaygroundSystem.swift",
        "Errors/FileSystemError.swift",
        "Errors/PlaygroundShellError.swift",
        "Errors/RenderingOutput.swift",
        "Errors/RenderingPersistenceError.swift",
        "Errors/XcodePlaygroundSystemError.swift",
        "Models/HasProgressReport.swift",
        "Models/NefPlaygroundURL.swift",
        "Models/RenderingURL.swift",
        "Utils/Array+Utils.swift",
        "Utils/Effects+Extensions.swift",
        "Utils/EnumeratedSequence+Extension.swift",
        "Utils/Platform+Utils.swift",
        "Utils/String+Path.swift",
        "Utils/String+Utils.swift"
      ],
      "target_dependencies" : [
        "NefModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreTests",
      "path" : "project/Tests/CoreTests",
      "sources" : [
        "JekyllTests.swift",
        "MarkdownTests.swift",
        "SyntaxTests.swift",
        "Utils/CoreRender+Test.swift"
      ],
      "target_dependencies" : [
        "NefCore"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.2"
}
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/bow-swift/Swiftline.git
Fetching https://github.com/bow-swift/bow.git
[1/805] Fetching swiftline
[195/55103] Fetching swiftline, bow
Fetched https://github.com/bow-swift/Swiftline.git from cache (27.90s)
Fetched https://github.com/bow-swift/bow.git from cache (28.88s)
Computing version for https://github.com/bow-swift/Swiftline.git
Computed https://github.com/bow-swift/Swiftline.git at 0.5.6 (31.66s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[2/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (6.63s)
Fetched https://github.com/Quick/Nimble.git from cache (6.65s)
Computing version for https://github.com/bow-swift/bow.git
Computed https://github.com/bow-swift/bow.git at 0.8.0 (8.04s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/bow-swift/SwiftCheck.git
[1/4531] Fetching swiftcheck
[4532/57214] Fetching swiftcheck, rxswift
Fetched https://github.com/bow-swift/SwiftCheck.git from cache (4.32s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.46s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (5.07s)
Computing version for https://github.com/bow-swift/SwiftCheck.git
Computed https://github.com/bow-swift/SwiftCheck.git at 0.12.1 (0.46s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.50s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.22s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.74s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.52s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.80s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/bow-swift/Swiftline.git
Working copy of https://github.com/bow-swift/Swiftline.git resolved at 0.5.6
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/bow-swift/bow.git
Working copy of https://github.com/bow-swift/bow.git resolved at 0.8.0
Creating working copy for https://github.com/bow-swift/SwiftCheck.git
Working copy of https://github.com/bow-swift/SwiftCheck.git resolved at 0.12.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/125] Emitting module Bow
[15/137] Compiling Bow Coreader.swift
[16/137] Compiling Bow Day.swift
[17/137] Compiling Bow Dictionary.swift
[18/140] Compiling Swiftline ShortHandRunner.swift
[19/140] Compiling Swiftline StringBackgroundColorizer.swift
[20/140] Compiling Swiftline StringForegroundColorizer.swift
[21/140] Compiling Bow DictionaryK.swift
[22/140] Compiling Bow Either.swift
[23/140] Compiling Bow EitherK.swift
[24/140] Compiling Bow Cokleisli.swift
[25/140] Compiling Bow Function0.swift
[26/140] Compiling Bow Function1.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/140] Compiling Bow FunctionK.swift
[28/140] Emitting module Swiftline
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
[29/140] Compiling Bow Kleisli.swift
[30/140] Compiling Bow Action.swift
[31/140] Compiling Bow Array.swift
[32/140] Compiling Bow ArrayK.swift
[33/140] Compiling Bow Endo.swift
[34/140] Compiling Bow Eval.swift
[35/140] Compiling Bow Id.swift
[36/140] Compiling Bow Ior.swift
[37/140] Compiling Bow Co.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[38/140] Compiling Bow CoSum.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[39/140] Compiling Bow Const.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[40/140] Compiling Bow Comparable.swift
[41/140] Compiling Bow Contravariant.swift
[42/140] Compiling Bow Decidable.swift
[43/140] Compiling Bow Divide.swift
[44/140] Compiling Bow Divisible.swift
[45/140] Compiling Bow EquatableK.swift
[46/140] Compiling Bow Foldable.swift
[47/140] Compiling Bow Functor.swift
[48/140] Compiling Bow FunctorFilter.swift
[49/140] Compiling Bow Invariant.swift
[50/140] Compiling Bow Monad.swift
[51/140] Compiling Bow MonadCombine.swift
[52/140] Compiling Bow BindingExpression.swift
[53/140] Compiling Bow BindingOperator.swift
[54/140] Compiling Bow BoundVar.swift
[55/140] Compiling Bow MonadComprenhensions.swift
[56/140] Compiling Bow ReaderBindingExpression.swift
[57/140] Compiling Bow StateBindingExpression.swift
[58/140] Compiling Bow WriterBindingExpression.swift
[59/140] Compiling Bow MonadError.swift
[60/140] Compiling Bow MonadFilter.swift
[61/140] Compiling Bow MonadReader.swift
[62/140] Compiling Bow MonadState.swift
[63/140] Compiling Bow MonadWriter.swift
[64/140] Compiling Bow Monoid.swift
[65/140] Compiling Bow MonoidK.swift
[66/140] Compiling Bow Monoidal.swift
[67/140] Compiling Bow NonEmptyReducible.swift
[68/140] Compiling Bow Reducible.swift
[69/140] Compiling Bow Selective.swift
[70/140] Compiling Bow Semigroup.swift
[71/140] Compiling Bow SemigroupK.swift
[72/140] Compiling Bow Semigroupal.swift
[73/140] Compiling Bow Semiring.swift
[74/140] Compiling Bow Traverse.swift
[75/140] Compiling Bow TraverseFilter.swift
[76/140] Compiling Swiftline StringStyle.swift
[77/140] Compiling Swiftline StringStyleColorizer.swift
[78/140] Compiling Swiftline TaskPipe.swift
[79/140] Compiling Bow StoreT.swift
[80/140] Compiling Bow TracedT.swift
[81/140] Compiling Bow WriterT.swift
[82/140] Compiling Bow Alternative.swift
[83/140] Compiling Bow Applicative.swift
[84/140] Compiling Bow ApplicativeError.swift
[85/140] Compiling Bow Bimonad.swift
[86/140] Compiling Bow Comonad.swift
[87/140] Compiling Bow ComonadEnv.swift
[88/140] Compiling Bow ComonadStore.swift
[89/140] Compiling Bow ComonadTraced.swift
[90/140] Compiling Bow ComonadTrans.swift
[91/140] Compiling Bow Reader.swift
[92/140] Compiling Bow Result.swift
[93/140] Compiling Bow Set.swift
[94/140] Compiling Bow SetK.swift
[95/140] Compiling Bow Sum.swift
[96/140] Compiling Bow Trampoline.swift
[97/140] Compiling Bow Try.swift
[98/140] Compiling Bow Validated.swift
[99/140] Compiling Bow Zipper.swift
[100/140] Compiling Bow BoolInstances.swift
[101/140] Compiling Bow NumberInstances.swift
[102/140] Compiling Bow OptionInstances.swift
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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/113] Emitting module Swiftline
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
[3/116] Compiling Bow Coreader.swift
[4/116] Compiling Bow Day.swift
[5/116] Compiling Bow Dictionary.swift
[6/116] Compiling Bow Moore.swift
[7/116] Compiling Bow NonEmptyArray.swift
[8/116] Compiling Bow Option.swift
[9/116] Compiling Swiftline CommandExecutor.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[10/116] Compiling Swiftline Env.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[11/116] Compiling Swiftline ProcessInfo.swift
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:9:45: error: cannot find type 'posix_spawn_file_actions_t' in scope
  7 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t
  8 |     #else
  9 |     typealias _posix_spawn_file_actions_t = posix_spawn_file_actions_t?
    |                                             `- error: cannot find type 'posix_spawn_file_actions_t' in scope
 10 |     #endif
 11 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:59:21: error: cannot find 'DispatchGroup' in scope
 57 |
 58 |     func execute(_ commandParts: [String]) -> ExecutorReturnValue  {
 59 |         let group = DispatchGroup()
    |                     `- error: cannot find 'DispatchGroup' in scope
 60 |         group.enter()
 61 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:62:20: error: cannot find 'Process' in scope
 60 |         group.enter()
 61 |
 62 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 63 |         task.executableURL = URL(fileURLWithPath: "/usr/bin/env")
 64 |         task.arguments = commandParts
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:37: error: cannot infer type of closure parameter '_' without a type annotation
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                     `- error: cannot infer type of closure parameter '_' without a type annotation
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:71:48: error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 69 |         task.standardOutput = stdoutPipe
 70 |         task.standardError = stderrPipe
 71 |         task.terminationHandler = { _ in group.leave() }
    |                                                `- error: cannot infer return type for closure with multiple statements; add explicit type to disambiguate
 72 |         do {
 73 |             try task.run()
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:106:9: error: cannot find 'posix_spawn_file_actions_init' in scope
104 |
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:107:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
105 |         var childFDActions = STDLIB._make_posix_spawn_file_actions_t()
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:108:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
106 |         posix_spawn_file_actions_init(&childFDActions)
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:109:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
107 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 1)
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
111 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:110:9: error: cannot find 'posix_spawn_file_actions_addclose' in scope
108 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe[1], 2)
109 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[0])
110 |         posix_spawn_file_actions_addclose(&childFDActions, outputPipe[1])
    |         `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
111 |
112 |         var pid: pid_t = 0
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:22: error: cannot find 'posix_spawn' in scope
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:114:70: error: 'nil' requires a contextual type
112 |         var pid: pid_t = 0
113 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
114 |         let result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
115 |
116 |         return (Int(result), "", "")
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:137:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
135 |         defer {
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:138:13: error: cannot find 'posix_spawn_file_actions_addclose' in scope
136 |             for case let arg? in argv { free(arg) }
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
    |             `- error: cannot find 'posix_spawn_file_actions_addclose' in scope
139 |             posix_spawn_file_actions_destroy(&childFDActions)
140 |         }
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:139:13: error: cannot find 'posix_spawn_file_actions_destroy' in scope
137 |             posix_spawn_file_actions_addclose(&childFDActions, outputPipe)
138 |             posix_spawn_file_actions_addclose(&childFDActions, outerrPipe)
139 |             posix_spawn_file_actions_destroy(&childFDActions)
    |             `- error: cannot find 'posix_spawn_file_actions_destroy' in scope
140 |         }
141 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:142:9: error: cannot find 'posix_spawn_file_actions_init' in scope
140 |         }
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
    |         `- error: cannot find 'posix_spawn_file_actions_init' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:86: error: cannot find 'O_CREAT' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:96: error: cannot find 'O_TRUNC' in scope
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:143:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
141 |
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:9: error: cannot find 'posix_spawn_file_actions_addopen' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |         `- error: cannot find 'posix_spawn_file_actions_addopen' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:86: error: cannot find 'O_CREAT' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                      `- error: cannot find 'O_CREAT' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:96: error: cannot find 'O_TRUNC' in scope
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                `- error: cannot find 'O_TRUNC' in scope
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_fcntl.h:16:9: note: macro 'O_TRUNC' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
16 | #define O_TRUNC (__WASI_OFLAGS_TRUNC << 12)
   |         `- note: macro 'O_TRUNC' unavailable: structure not supported
17 |
18 | #define O_NOFOLLOW (0x01000000)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:144:104: error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
142 |         posix_spawn_file_actions_init(&childFDActions)
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
    |                                                                                                        |- error: binary operator '|' cannot be applied to operands of type 'UInt8' and 'Int32'
    |                                                                                                        `- note: overloads for '|' exist with these partially matching parameter lists: (Int32, Int32), (UInt8, UInt8)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:145:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
143 |         posix_spawn_file_actions_addopen(&childFDActions, outputPipe, stdoutLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
147 |
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:146:9: error: cannot find 'posix_spawn_file_actions_adddup2' in scope
144 |         posix_spawn_file_actions_addopen(&childFDActions, outerrPipe, stderrLogPath, O_CREAT | O_TRUNC | O_WRONLY, ~0)
145 |         posix_spawn_file_actions_adddup2(&childFDActions, outputPipe, 1)
146 |         posix_spawn_file_actions_adddup2(&childFDActions, outerrPipe, 2)
    |         `- error: cannot find 'posix_spawn_file_actions_adddup2' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:22: error: cannot find 'posix_spawn' in scope
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                      `- error: cannot find 'posix_spawn' in scope
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:149:70: error: 'nil' requires a contextual type
147 |
148 |         let argvPointer: UnsafePointer<CChar>! = UnsafePointer(argv[0])
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
    |                                                                      `- error: 'nil' requires a contextual type
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
/host/spi-builder-workspace/.build/checkouts/Swiftline/Sources/CommandExecutor.swift:151:9: error: cannot find 'waitpid' in scope
149 |         var result = posix_spawn(&pid, argvPointer, &childFDActions, nil, argv + [nil], ActualTaskExecutor.environment)
150 |         guard result == 0 else { return (Int(result), "", "") }
151 |         waitpid(pid, &result, 0)
    |         `- error: cannot find 'waitpid' in scope
152 |
153 |         let (stdout, stderr) = read(outputPath: stdoutLogPath, outerrPath: stderrLogPath)
[12/116] Compiling Bow Co.swift
[13/116] Compiling Bow CoSum.swift
[14/116] Compiling Bow Const.swift
[15/116] Compiling Bow Cokleisli.swift
[16/116] Compiling Bow Function0.swift
[17/116] Compiling Bow Function1.swift
[18/116] Compiling Bow FunctionK.swift
[19/116] Compiling Bow Endo.swift
[20/116] Compiling Bow Eval.swift
[21/116] Compiling Bow Id.swift
[22/116] Compiling Bow Ior.swift
[23/116] Compiling Bow Kleisli.swift
[24/116] Compiling Bow Action.swift
[25/116] Compiling Bow Array.swift
[26/116] Compiling Bow ArrayK.swift
[27/116] Compiling Swiftline StringStyle.swift
[28/116] Compiling Swiftline StringStyleColorizer.swift
[29/116] Compiling Swiftline TaskPipe.swift
[30/116] Emitting module Bow
BUILD FAILURE 6.1 wasm