The Swift Package Index logo.Swift Package Index

Build Information

Failed to build nef, reference master (517340), with Swift 6.1 for Wasm on 28 May 2025 04:17:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/bow-swift/nef
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4606859-2":/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/bow.git
Fetching https://github.com/bow-swift/Swiftline.git
[1/805] Fetching swiftline
[235/55103] Fetching swiftline, bow
Fetched https://github.com/bow-swift/Swiftline.git from cache (0.96s)
[4344/54298] Fetching bow
Fetched https://github.com/bow-swift/bow.git from cache (36.85s)
Computing version for https://github.com/bow-swift/Swiftline.git
Computed https://github.com/bow-swift/Swiftline.git at 0.5.6 (43.45s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[11363/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble.git from cache (7.09s)
Fetched https://github.com/Quick/Quick.git from cache (7.09s)
Computing version for https://github.com/bow-swift/bow.git
Computed https://github.com/bow-swift/bow.git at 0.8.0 (7.86s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/bow-swift/SwiftCheck.git
[1/4531] Fetching swiftcheck
Fetched https://github.com/bow-swift/SwiftCheck.git from cache (1.02s)
[1/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (8.16s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (11.08s)
Computing version for https://github.com/bow-swift/SwiftCheck.git
Computed https://github.com/bow-swift/SwiftCheck.git at 0.12.1 (0.68s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.60s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.25s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.89s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.57s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.92s)
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/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
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/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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/125] 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 |
[15/128] Emitting module Bow
[16/140] Compiling Bow Day.swift
[17/140] Compiling Bow Reader.swift
[18/140] Compiling Bow Result.swift
[19/140] Compiling Bow Zipper.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)
[20/140] Compiling Bow BoolInstances.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)
[21/140] Compiling Bow NumberInstances.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)
[22/140] Compiling Bow StoreT.swift
[23/140] Compiling Bow TracedT.swift
[24/140] Compiling Bow WriterT.swift
[25/140] Compiling Bow Alternative.swift
[26/140] Compiling Bow Applicative.swift
[27/140] Compiling Bow ApplicativeError.swift
[28/140] Compiling Bow Bimonad.swift
[29/140] Compiling Bow Comonad.swift
[30/140] Compiling Bow ComonadEnv.swift
[31/140] Compiling Bow ComonadStore.swift
[32/140] Compiling Bow ComonadTraced.swift
[33/140] Compiling Bow ComonadTrans.swift
[34/140] Compiling Bow Cokleisli.swift
[35/140] Compiling Bow Function0.swift
[36/140] Compiling Bow Function1.swift
[37/140] Compiling Bow FunctionK.swift
[38/140] Compiling Bow Set.swift
[39/140] Compiling Bow SetK.swift
[40/140] Compiling Bow Sum.swift
[41/140] Compiling Bow Co.swift
[42/140] Compiling Bow CoSum.swift
[43/140] Compiling Bow Const.swift
[44/140] Compiling Bow Coreader.swift
[45/140] Compiling Bow Kleisli.swift
[46/140] Compiling Bow Action.swift
[47/140] Compiling Bow Array.swift
[48/140] Compiling Bow ArrayK.swift
[49/140] Compiling Bow Trampoline.swift
[50/140] Compiling Bow Try.swift
[51/140] Compiling Bow Validated.swift
[52/140] Compiling Bow Monoid.swift
[53/140] Compiling Bow MonoidK.swift
[54/140] Compiling Bow Monoidal.swift
[55/140] Compiling Bow NonEmptyReducible.swift
[56/140] Compiling Bow Reducible.swift
[57/140] Compiling Bow Selective.swift
[58/140] Compiling Bow Semigroup.swift
[59/140] Compiling Bow SemigroupK.swift
[60/140] Compiling Bow Semigroupal.swift
[61/140] Compiling Bow Semiring.swift
[62/140] Compiling Bow Traverse.swift
[63/140] Compiling Bow TraverseFilter.swift
[64/140] Compiling Swiftline StringStyle.swift
[65/140] Compiling Swiftline StringStyleColorizer.swift
[66/140] Compiling Swiftline TaskPipe.swift
[67/140] Compiling Bow BindingExpression.swift
[68/140] Compiling Bow BindingOperator.swift
[69/140] Compiling Bow BoundVar.swift
[70/140] Compiling Bow MonadComprenhensions.swift
[71/140] Compiling Bow ReaderBindingExpression.swift
[72/140] Compiling Bow StateBindingExpression.swift
[73/140] Compiling Bow WriterBindingExpression.swift
[74/140] Compiling Bow MonadError.swift
[75/140] Compiling Bow MonadFilter.swift
[76/140] Compiling Bow MonadReader.swift
[77/140] Compiling Bow MonadState.swift
[78/140] Compiling Bow MonadWriter.swift
[79/140] Compiling Bow Comparable.swift
[80/140] Compiling Bow Contravariant.swift
[81/140] Compiling Bow Decidable.swift
[82/140] Compiling Bow Divide.swift
[83/140] Compiling Bow Divisible.swift
[84/140] Compiling Bow EquatableK.swift
[85/140] Compiling Bow Foldable.swift
[86/140] Compiling Bow Functor.swift
[87/140] Compiling Bow FunctorFilter.swift
[88/140] Compiling Bow Invariant.swift
[89/140] Compiling Bow Monad.swift
[90/140] Compiling Bow MonadCombine.swift
[103/140] Compiling Bow StringInstances.swift
[104/140] Compiling Bow BooleanFunctions.swift
[105/140] Compiling Bow Curry.swift
[106/140] Compiling Bow HigherKinds.swift
[107/140] Compiling Bow Memoization.swift
[108/140] Compiling Bow PartialApplication.swift
[109/140] Compiling Bow Predef.swift
[110/140] Compiling Bow Reverse.swift
[111/140] Compiling Bow EitherT.swift
[112/140] Compiling Bow EnvT.swift
[113/140] Compiling Bow OptionT.swift
[114/140] Compiling Bow StateT.swift
[117/140] Compiling Bow Either.swift
[118/140] Compiling Bow EitherK.swift
[119/140] Compiling Bow Endo.swift
[120/140] Compiling Bow Eval.swift
[121/140] Compiling Bow Id.swift
[122/140] Compiling Bow Ior.swift
[123/140] Compiling Bow Moore.swift
[124/140] Compiling Bow NonEmptyArray.swift
[125/140] Compiling Bow Option.swift
[126/140] Compiling Bow Pairing.swift
[127/140] Compiling Bow Puller.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/26] 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/97] Compiling Bow Co.swift
[4/97] Compiling Bow CoSum.swift
[5/97] Compiling Bow Const.swift
[6/116] Compiling Bow Moore.swift
[7/116] Compiling Bow NonEmptyArray.swift
[8/116] Compiling Bow Option.swift
[9/116] Compiling Bow Coreader.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 Bow Day.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 Bow Dictionary.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 Eval.swift
[13/116] Compiling Bow Id.swift
[14/116] Compiling Bow Ior.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 DictionaryK.swift
[20/116] Compiling Bow Either.swift
[21/116] Compiling Bow EitherK.swift
[22/116] Compiling Bow Endo.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 Bow Pairing.swift
[28/116] Compiling Bow Puller.swift
[29/116] Compiling Bow Reader.swift
BUILD FAILURE 6.1 wasm